> 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/policies/policies-actions.md).

# Policies - Actions

This page explain the action items and its working for Policies. Select the policy for which user want to perform some actions.

<figure><img src="https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2FEjxjJTzflkJP4CmOcQW4%2Fpolicy%20action.jpeg?alt=media&amp;token=72aad732-e00a-4076-8d68-5df62986d510" alt=""><figcaption></figcaption></figure>

1. Edit action - This edits the existing policy. Apart from **Namespace** and **Name** user can edit all other fields.
   1. Edit Schedule policy page\
      ![](https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2FkidmlidYWWxRKACAbPH3%2Fedit%20sch%20policy.jpeg?alt=media\&token=50dbc706-9c32-4acf-ade1-d8b973cc7df7)
   2. Edit Retention policy page\
      ![](https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2Fh9dlw82S1VSTIM5Yygc2%2Fedit%20ret%20policy.jpeg?alt=media\&token=a65d7e18-720e-49c7-b036-782be647ef7f)
   3. Edit Cleanup policy page\
      ![](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)
   4. Edit Continuous Restore policy page\
      ![](https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2FPYbfPIBDLv5veM5iqgWz%2Fedit%20cr%20policy.jpeg?alt=media\&token=eeda5468-e4aa-40c4-bd63-f115ec3719e9)
2. Clone action - This clone the existing policy in another namespaces with same detail.
   1. Select Namespace - First step is to select the Namespaces in which user want to clone the policy.\
      ![](https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2F2dmGtzBhmZfIuLSIZ3Rp%2Fclone%20policy%20ns.jpeg?alt=media\&token=c70863f0-23cb-4992-ae89-baecc440f5a4)\
      \
      Click on the **Clone** button after selecting the namespaces to move to next step.
   2. Policy name by "By Name" - Here, the user can set a name for the cloned policy by a text.\
      ![](https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2F1piW92YinlZAy5UIwqyQ%2Fclone%20policy%20name.jpeg?alt=media\&token=8d96d1a0-cefe-48a9-82fd-aa6d42d40bc2)\
      \
      Click on the **Clone** button if user wish to clone by policy name.
   3. Policy name by "By Suffix" - Here, the user can set a name for the cloned policy 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 policy by suffix.
3. View YAML action - This shows the policy 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 policy.

   <figure><img src="https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2FF07RhEjGQl3YcqdWBas9%2Fdelete%20policy.jpeg?alt=media&amp;token=3e2a5cd3-1050-4ce8-bc39-83f05f048567" alt="Create Backup options"><figcaption></figcaption></figure>

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

#### Compare YAML

This is to view and compare the YAML files for 2 policies. Check below options.

<figure><img src="https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2FavSDcspdoRL0bfEv5Y3i%2Fcompare%20yaml.jpeg?alt=media&amp;token=63077bd8-bc1d-4e9b-bfd0-2d32a2b7e682" alt="Create Backup options"><figcaption></figcaption></figure>

* Select checkbox - Select the policies for which user want to compare the YAMLs.
* Compare YAML - click on this button see the compare YAML files of selected policies. Below compare view is visible on click on Compare YAML option.

  <figure><img src="https://2799369373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7fCvY8ASJrGmS0BSdWtM%2Fuploads%2F8dPG9LFwff0AZaWFMMVY%2Fcompare%20yaml%20view.jpeg?alt=media&amp;token=f16ac5fc-7a07-45b7-bec7-e4f79f1a33bb" alt="Create Backup options"><figcaption></figcaption></figure>

  FRom here user can copy the content of policy in YAML format.
