This document provides instructions on how to manage existing backup plans for Harbor instances,
including how to view backup plans and pause backup plan schedules.

## Before you begin

You must have an existing backup plan configured. For more information, see
[Create a backup plan](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/platform-application/pa-ao-operations/harbor-backup/create-backup-plan-harbor.md.txt).

### Required IAM roles

Request the necessary permissions from your IAM Project Admin. Enforce least
privilege access by requesting only the roles required for your specific tasks.

- **Secret Admin** (`secret-admin`): get, list, create, update, patch, and delete all Kubernetes secrets within the project namespace. This is a project-level permission that includes the sensitive authentication credentials needed by the backup repository.
- **Harbor Instance Admin** (`harbor-instance-admin`): get, list, watch, create, update, patch, and delete Harbor instances, backup repositories, backup plans, backups, and restores within a specific project namespace.

## View a backup plan

To view an existing backup plan, follow these steps:

1. Sign in to the GDC console.
2. In the navigation menu, click **Backup for harbor instance**.
3. Click **Backup plans**.
4. View all existing backup plans in the table.
5. To view the details of a single backup plan, click the name of that backup plan in the table.
6. To view the backups in a backup plan, click the **Backups** tab.
7. To view more details about the backup plan, click the **Plan
   configuration** tab.

## Manage the backup plan schedule

Backup plans create automatic backups as defined in the backup plan schedule.
Pause this schedule to stop creating automatic backups. You can create
backups manually when the backup plan schedule is paused. After you pause the
schedule, you can resume it to continue creating automatic backups.

### Pause a backup plan schedule

To pause a backup plan schedule, follow these steps:

1. Sign in to the GDC console.
2. In the navigation menu, click **Backup for harbor instance**.
3. Click **Backup plans**.
4. Click the name of the backup plan in the table.
5. Click **Pause schedule**.
6. In the confirmation dialog, click **Pause**.

### Resume a paused backup plan schedule

To resume a paused backup plan schedule, follow these steps:

1. Sign in to the GDC console.
2. In the navigation menu, click **Backup for harbor instance**.
3. Click **Backup plans**.
4. Click the name of the backup plan in the table.
5. Click **Resume schedule**.
6. In the confirmation dialog, click **Resume schedule**.

## What's next

- [Create a manual backup](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/platform-application/pa-ao-operations/harbor-backup/create-manual-backup-harbor.md.txt)