# 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://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/XQxlsQHIBkzuo1H18Srg/policy%20action.jpeg" 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://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/jQ8skcOokOm5CqQ3RQ3u/edit%20sch%20policy.jpeg)
   2. Edit Retention policy page\
      ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/O9JujQdIxN4JLmULMFag/edit%20ret%20policy.jpeg)
   3. Edit Cleanup policy page\
      ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/O90LeRrgl47bUJz05Ziw/clone%20by%20suffix.jpeg)
   4. Edit Continuous Restore policy page\
      ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/oDEfguloHiJgT5Kxrb5p/edit%20cr%20policy.jpeg)
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://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/eEmmWOMLHT11fEpXCmN7/clone%20policy%20ns.jpeg)\
      \
      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://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/8f3a1WoCKT0H88IXyCvh/clone%20policy%20name.jpeg)\
      \
      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://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/O90LeRrgl47bUJz05Ziw/clone%20by%20suffix.jpeg)\
      \
      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://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/gu2QLMLyFiruzpi4zL6u/view%20yaml.jpeg)\
   \
   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://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/nhdGs6Tk4CR1NaPhKp4S/delete%20policy.jpeg" 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://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/v8IwZp6QZRRV1PkuFiFp/compare%20yaml.jpeg" 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://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/z7bBtovZOlY86O17SKmG/compare%20yaml%20view.jpeg" alt="Create Backup options"><figcaption></figcaption></figure>

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