> For the complete documentation index, see [llms.txt](https://docs.trilio.io/kubernetes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trilio.io/kubernetes/5.0.x/getting-started/using-trilio/getting-started-with-management-console/navigating-intro/backup-and-recovery/hooks/hooks-actions.md).

# Hooks - Actions

This page explain the action items and its working for Hooks. Select the hook for which user want to perform some actions.<br>

<figure><img src="https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2FDAXWAoO1kyr86JcN4I5F%2Fhook%20action%20options.jpeg?alt=media&amp;token=521b60f3-68b4-4005-baaf-e1af68bdc8a8" alt=""><figcaption></figcaption></figure>

1. Edit action - This edits the existing hook. Apart from **Namespace** and **Name** user can edit all other fields.\
   ![](https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2FiY1kVQ6MDKDmldivZMGF%2Fedit%20hook.jpg?alt=media\&token=cbb561b3-8c90-4252-a2c8-4637582fee32)
2. Clone action - This clone the existing Hook in another namespaces with same detail.
   1. Select Namespace - First step is to select the Namespaces in which user want to clone the hook.\
      ![](https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2F6qhNRAyj9BdvfqFfzBe4%2Fclone%20select%20ns.jpeg?alt=media\&token=73984bea-f121-4c32-a866-872b07c003f0)\
      \
      Click on the **Clone** button after selecting the namespaces to move to next step.
   2. Hook name by "By Name" - Here, the user can set a name for the cloned hook by a text.\
      ![](https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2F3po3GqhtMkvBi2qR2kUk%2Fclone%20hook%20by%20name.jpeg?alt=media\&token=5019c0fe-ca31-4a45-8c37-a59acc551d78)\
      \
      Click on the **Clone** button if user wish to clone by hook name.
   3. Hook name by "By Suffix" - Here, the user can set a name for the cloned hook by a suffix.\
      ![](https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2FBsdOcmpa39pDq0lxs2uP%2Fclone%20by%20suffix.jpeg?alt=media\&token=6eedc0da-378f-470c-9ec2-844a3cde6463)\
      \
      Click on the **Clone** button to clone the hook by suffix.
3. View YAML action - This shows the hooks detail in yaml file format. \
   ![](https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2F6J1Qrq0ZnXaHY1ivzKf0%2Fview%20yaml.jpeg?alt=media\&token=ac377d51-db6c-420d-87c0-7eb0ce59eda4)\
   \
   If user want to download it, user can click on 'Download' button to download this in YAML file format.
4. Delete action - This is to delete the hook.

   <figure><img src="https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2FX9CwUXVNkvPM356QLAkj%2Fdelete%20hook.jpeg?alt=media&amp;token=d7522213-5e41-4ace-9819-0486ca0e6b31" alt="Create Backup options"><figcaption></figcaption></figure>

   To confirm the delete, click on 'Yes' else click on 'No'.
