# Backup Plans - Actions

The Backup & Recovery's **Namespace** page is primarily an informational page, presenting the user with a complete overview of everything related to their namespaces. However, there are some actions that the user can take, which are detailed in the following sections of this page. There are four actions that may be executed for a single namespace:

* Edit
* Clone
* Create Backup
* Create snapshot
* Restore
* View Backup & Restore summary
* View Status Log
* View YAML
* Delete

## Actions - Edit

From the Backup & Recovery's **Backupplans** page:

1. Identify the listed backup plan that you wish to edit.
2. Click the corresponding **Edit** button on the right side of the main UI window.
3. Or Click on the action Dropdown From the menu displayed, select **Edit**.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/sx9CA0Oc4p9GUja0ERu8/Edit%20dropdown.png)
4. Depending on the backup plan selected, the **Edit Backupplan** (Applications), **Edit Backupplan** (Single Namespace), or **Edit Multi-Namespace Backupplan** displays. Refer respectively to [#backup-plan-application](https://docs.trilio.io/kubernetes/getting-started/using-trilio/getting-started-with-management-console/navigating-intro/backup-and-recovery/create-backup-plans#backup-plan-application "mention"), [#backup-plan-single-namepspace](https://docs.trilio.io/kubernetes/getting-started/using-trilio/getting-started-with-management-console/navigating-intro/backup-and-recovery/create-backup-plans#backup-plan-single-namepspace "mention"), or [#backup-plan-multi-namepspace](https://docs.trilio.io/kubernetes/getting-started/using-trilio/getting-started-with-management-console/navigating-intro/backup-and-recovery/create-backup-plans#backup-plan-multi-namepspace "mention") for step-by-step details.
5. Starting from version **5.0.3**, users can edit a BackupPlan to change its associated target. This update is allowed **only if** all the existing **Backups** and **Snapshots** for that BackupPlan are already available on the new target(i.e. directories for all the existing Backups and Snapshots are present on the newly updated target). If they are not, the BackupPlan will enter an **Unavailable** state.
6. Starting from version 5.1.0, users can edit the ClusterBackupPlan to change the associated target. This update is allowed **only if** all the existing **ClusterBackups** and **ClusterSnapshots** for that ClusterBackupPlan are already available on the new target. If they are not the ClusterBackupPlan will enter an **Unavailable** state.
7. Once all edits are completed, select **Save**.

## Actions - Clone

From the Backup & Recovery's **Backupplans** page:

1. Identify the listed backup plan that you wish to clone.
2. Click on the action dropdown and select **Clone.**
3. click on the cluster to open it.
4. Select namespaces within the cluster you wish to crate the clone in.
5. Once selected Click **Clone.**\\

   <div align="left"><figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/stmNch8HRjhfob4u5aPD/clone.png" alt="" width="375"><figcaption><p>Clone Backup Plan</p></figcaption></figure></div>
6. In **By Name** sub tab give appropriate secret name, object store target name and backup plan name that will be used for the clone.\\

   <div align="left"><figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/TkxF3u9YXGLZ7LPt4mml/bynmae.png" alt="" width="375"><figcaption><p>Clone Backup Plan - By Name</p></figcaption></figure></div>
7. Or provide a suffix number that will be added to the end of the name of original secret name, original object store target name and original backup plan name to make new names for the clone in the **By Suffix sub tab.**\\

   <div align="left"><figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/GKzbW9M0hozRDNGNs5DW/bysuffix.png" alt="" width="375"><figcaption><p>Clone Backup Plan - By Suffix</p></figcaption></figure></div>

## Actions - Create Backup

From the Backup & Recovery's **Backupplans** page:

1. Identify the listed backup plan that you wish to take a backup of.
2. Click on the action dropdown and select Create Backu&#x70;**.**\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/41gxFKG76brO9r7NwLE1/createbkp1.png)
3. Provide a meaningfull name to the Backup.
4. Use the toggle switch to choose between Full backup and Incremental backup.
5. click **Create**.

## Actions - Create Snapshot

From the Backup & Recovery's **Backupplans** page:

1. Identify the listed backup plan that you wish to snapshot.
2. Click on the action dropdown and select Create Snapsho&#x74;**.**\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/jepNvov3PD1JZGHBxPr3/snapshot.png)
3. Provide a meaningfull name to the snapshot.
4. click **Create**
5. click on the backup plan to view the backup plan summary.

### Actions - Restore

From the Backup & Recovery's **Backupplan** page

1. Identify the listed backup plan for which you wish to perform an action.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/He6VgXw9JNSfCGHX05pQ/screenshot-master_k8strilio_net-2024_11_29-20_14_40.png)
2. Click the corresponding **Actions** button on the right side of the main UI window. Restore option only visible when there is successful Backup or Snapshot.
3. From the menu displayed, select **Restore**.
4. It initiates a restore based on last successful Backup or Snapshot.
   1. If last successful is Backup, Restore will be initiate for that Backup.
   2. If last successful is Snapshot, Restore will be initiate for that Snapshot.
5. On click on Restore Create Restore model get open and for furthere Refer\
   [restoring-backups](https://docs.trilio.io/kubernetes/getting-started/using-trilio/getting-started-with-management-console/index/restoring-backups "mention")\\

## Actions - **View Backup & Restore summary**

From the Backup & Recovery's **Backupplan** page, follow the identical instructions found in [#actions-view-backup-and-restore-summary](https://docs.trilio.io/kubernetes/getting-started/using-trilio/getting-started-with-management-console/navigating-intro/b-and-r-namespaces/b-and-r-namespaces-actions#actions-view-backup-and-restore-summary "mention").

## Action - View Status Log

From the Backup & Recovery's **Backupplans** page:

1. Identify the backup plan from the list whose status log you wish to view.
2. Click on the action dropdown and select View Status Lo&#x67;**.**\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/3WYOZxh4fL8DNkT0KKHa/statuslog.png)
3. Click on collapsible icon to open the full details\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/0LkG0IlyhRAJNj68noJA/log.png)

## Actions - **View YAML**

From the Backup & Recovery's **Backupplans** page:

1. Identify the listed backup plan that you wish to view the YAML for.
2. Click on the action dropdown.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/0QjCJ2Cd7WopvujLU8ys/viewyaml.png)
3. From the menu displayed, select **View YAML**.
4. Depending on the backupplan type (**Application**, **Single Namespace**, or **Multi-Namespace**), the page displayed provides the ability to view and copy all associated YAML files. For example, for a **Multi-Namespace** backupplan, the available YAML files displayed are:
   * Clusterbackupplan
   * Incremental Schedule Policy
   * Schedule Policy
   * Retention Policy
   * Encryptions Secret
   * Target
   * Target Credential Secret

![Multi-Namespace Backupplan YAMLs](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/2XsAXMlDnND81SRHujyP/ymalexample.png)

## Actions - Delete

From the Backup & Recovery's **Backupplans** page:

1. Identify the listed backup plan that you wish to delete.
2. Click the corresponding action dropdown on the right side of the **Edit** button.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/XPPum3MpBWQcYivDZKwj/deletebackupplan.png)
3. From the menu displayed, select **Delete**.
4. When prompted "*Are you sure you want to delete this backupplan?*", click **Yes**.
