## NAME

gdcloud backup plans update - Updates a backup plan.

## SYNOPSIS

```text
gdcloud backup plans update BACKUP_PLAN_NAME [flags]
```

## DESCRIPTION

Updates the backup plan with the specified information.

### EXAMPLES

```text
To update a backup plan named "backup-plan-name", run:

    gdcloud backup plans create backup-plan-name --project=project-name --zone=zone-name
```

### REQUIRED FLAGS

```text
      --delete-lock uint   Prevents deletion of the backup for the number of days specified after backup creation.
      --project string     Backup plan project name.
      --retain uint        Deletes backups after the number of days specified after backup creation. (default 1)
      --retention-locked   Specifies whether the retention policy of this backup plan is locked.
```

### OPTIONAL FLAGS

```text
      --custom-schedule string   A crontab schedule indicating when to schedule backups.If --schedule set "Custom".
      --schedule string          Schedule indicating when to schedule backups (Daily/Weekly/Monthly/Custom).
      --schedule-paused string   Specifies whether the scheduled operation is inactive or active.
      --zone string              Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
```

### GDCLOUD WIDE FLAGS

These flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.

For more information, see the [gdcloud CLI reference overview](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-reference/gdcloud.md.txt) page.