# Namespaces - Bulk Actions

## Bulk Actions - **Create Backup and Create Snapshot**

1. From the Backup & Recovery's **Namespace** page, identify the listed namespaces for which you wish to perform an action.
2. Select some by clicking the corresponding selector checkboxes in the first column. Use the table header row checkbox to select/deselect all listed namespaces.\\

   <div><figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/xSMCC7xCYF1FtLPi7DIf/namespace%20bulk%20action%20create%20backup.jpeg" alt="" width="375"><figcaption><p>Create Backup selection</p></figcaption></figure> <figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/riDEr5h0DdBObJAuHYQH/namespace%20bulk%20action%20create%20snapshot.jpeg" alt="" width="375"><figcaption><p>Create Snapshot selection</p></figcaption></figure></div>
3. This shows the selected and number of Namespaces. Alternatively, click **Unselect all** to cancel your selections.
4. Click the **Create Backup** button in the top-right corner of the main UI window to start the backup process. Alternatively, click **Create Snapshot** to initiate the snapshot process.
5. From the **CREATE NEW BACKUP** (**CREATE NEW SNAPSHOT for Snapshot)** wizard displayed, check if any existing backup plans are available, either under **Last Successful Backup** or under **Based on Application** **properties**.\
   \
   If you see an existing backup plan that suits, skip to step 7.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/eMan7U2R98N65ZX1kTdg/namespace%20bckp%20select%20bplan.jpeg)
6. If no existing plan is suitable or not available, select **Create New** and follow the instructions in [#backup-plan-multi-namepspace](https://docs.trilio.io/kubernetes/getting-started/using-trilio/getting-started-with-management-console/navigating-intro/backupplans/create-backup-plans#backup-plan-multi-namepspace "mention").
7. Select either an existing backup plan identified in Step 5, or a new backup plan created in Step 6.
8. If you just created one, it may take some time before it becomes active and is able to be selected. You can expand any listed backup plan to see more details about its configuration.
9. Select **Next**.
10. In the window displayed, type a meaningful name for your new backup (name for Snapshot if creating Snapshot).\
    ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/HFjTKbJlhXq9Cy9xDGoW/backup-recovery-namespaces-8.png)
11. Then click **Create Backup** (click **Create Snapshot** if creating the snapshot).
12. Once the backup (Snapshot) is complete, the **STATUS LOG** window displays, detailing the status of the backup (Snapshot) and if there were any errors.\
    ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/2d8fIwXCHvjYR8oWzbF0/backup-recovery-namespaces-9.png)

## Bulk Action - Create Restore

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

1. Identify the listed namespace for which you wish to perform an action.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/L3MyIvOOrPkFQG7PQz4o/namespace%20bulk%20action%20create%20restore.jpeg)
2. This shows the selected namespaces to Restore
3. From the menu displayed, select **Create Restore**. This is enable only when the last successful Backup or Snapshot is available. If any of the Namespace is not protected or no Backup/ Snapshot is visible, then that button is disable and respective message is visible on hover that button like below.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/L3MyIvOOrPkFQG7PQz4o/namespace%20bulk%20action%20create%20restore.jpeg)
4. On click on **Create Restore,** 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 Namespace 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")

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

1. From the Backup & Recovery's **Namespace** page, identify the listed namespaces for which you wish to perform an action.
2. Select some by clicking the corresponding selector checkboxes in the first column. Use the table header row checkbox to select/deselect all listed namespaces.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/0WCheSaCavNFV9OWc4fg/namespace%20bulk%20action%20view%20backup%20&%20restore%20summary.jpeg)
3. Alternatively, click **Unselect all** to cancel your selections.
4. Click the **Bulk Actions** button on the top right of the main UI window.
5. From the menu displayed, select **View Backup & Restore summary**, which displays the **Monitoring** window.

<figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/KtP7qiRcceiptxXNdxYQ/namespace%20monitoring.jpeg" alt=""><figcaption></figcaption></figure>

1. From the **Monitoring** window, optionally you may view the information provided in the **BACKUP SUMMARY** panel.
2. From the **Monitoring** window, optionally you may view the information provided in the **RESTORE SUMMARY** panel.
3. From the **Monitoring** window, optionally you may view the information provided in the **SNAPSHOT SUMMARY** panel.
4. In the **Monitoring** window, all **Restore Points** are listed in the table.\\

<div><figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/M952lDIyvigg0v7qCm2Q/bulk%20ns%20latest%20available%20snapshots.jpeg" alt=""><figcaption><p>Latest available Snapshots</p></figcaption></figure> <figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/QEtbkYQ2EUkSAV9eTIIK/bulk%20ns%20latest%20available%20backups.jpeg" alt=""><figcaption><p>Latest available Backups</p></figcaption></figure></div>

<table><thead><tr><th width="176">Field No.</th><th>Description</th></tr></thead><tbody><tr><td>a</td><td>This table lists the latest Available Backups and Snapshots of selected Namespace and the other columns provides data about those Backup and Snapshots.</td></tr><tr><td>b</td><td>Click on any Backup or Snapshots expand icon in the table for more details, such as:<br>- <strong>Restore</strong><br>- <strong>View Restores</strong><br>- <strong>Status Logs</strong><br>- <strong>View Metadata</strong><br>- <strong>Delete</strong><br>- <strong>View YAML</strong></td></tr><tr><td>c</td><td>This shows the first namespace and the number of other namespaces selected, or from which the backups and snapshots were created.</td></tr></tbody></table>

## Bulk Actions - **View Namespace details**

1. From the Backup & Recovery's **Namespace** page, identify the listed namespaces for which you wish to perform an action.
2. Select some by clicking the corresponding selector checkboxes in the first column. Use the table header row checkbox to select/deselect all listed namespaces.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/KnS87vMLbuLPMcNmJbgW/namespace%20bulk%20action%20view%20ns%20detail%20option.jpeg)
3. Alternatively, click **Unselect all** to cancel your selections.
4. Click the **Bulk Actions** button on the top right of the main UI window.
5. From the menu displayed, select **View Namespace details,** which displays the following window\*\*.\*\*\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/upboQJ4aKwG9HBhLBPdO/namespace%20bulk%20action%20ns%20detail%20page.jpeg)

<table><thead><tr><th width="157">Field No.</th><th>Description</th></tr></thead><tbody><tr><td>a</td><td>This is the number of namespaces selected.</td></tr><tr><td>b</td><td>These numbers show how many namespaces are protected and how many are unprotected.</td></tr><tr><td>c</td><td>This lists each namespace and shows if it is protected or unprotected.</td></tr><tr><td>d</td><td>On click on this user redirects to GVK visibility page for that particular Namespace.</td></tr></tbody></table>

6. From the above "d" option user redirects to GVK visibility\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/CEpArjnUvvbljHxfbh7h/namespace%20bulk%20action%20ns%20detail%20gvk.jpeg)

<table><thead><tr><th width="157">Field No.</th><th>Description</th></tr></thead><tbody><tr><td>i</td><td>Shows the selected namespace name.</td></tr><tr><td>j</td><td>Shows the available GVK resources from the Namespace.</td></tr><tr><td>k</td><td>On click on this user redirects to see the available resources of selected Group.</td></tr></tbody></table>

6. From the above "k" option user redirects to GVK resources visibility\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/YWEI5SSqqCfeeDCXTdYa/namespace%20ns%20detail%20gvk%20resource%20detail.jpeg)

<table><thead><tr><th width="157">Field No.</th><th>Description</th></tr></thead><tbody><tr><td>m</td><td>Shows the selected namespace name.</td></tr><tr><td>n</td><td>Shows the name of selected GVK from step 5.</td></tr><tr><td>o</td><td>On click on this user see the YAML files of the resources.</td></tr></tbody></table>

## Bulk Actions - **View Target summary**

1. From the Backup & Recovery's **Namespace** page, identify the listed namespaces for which you wish to perform an action.
2. Select some by clicking the corresponding selector checkboxes in the first column. Use the table header row checkbox to select/deselect all listed namespaces.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/RwI8LlAh1R9GowkyhV1G/bulk%20action%20target%20summary.jpeg)
3. Alternatively, click **Unselect all** to cancel your selections.
4. Click the **Bulk Actions** button on the top right of the main UI window.
5. From the menu displayed, select **View Target summary**.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/qoICl0wcyx2W24mojto8/namespace%20target%20detail%20\(1\).jpeg)

<table><thead><tr><th width="143">Field No.</th><th>Description</th></tr></thead><tbody><tr><td>a</td><td>The total space consumed by all selected targets for both all and object store targets..</td></tr><tr><td>b</td><td>This table lists shows the targets selected of selected Namespace with following columns<br>- Status<br>- Target Name<br>- Type<br>- Space Available<br>- Vendor<br>- Space Consumed</td></tr><tr><td>c</td><td>On click on setting icon user can manage the columns visibility in listing.</td></tr></tbody></table>
