gdcloud harbor backup-plans create

NAME

gdcloud harbor backup-plans create - Crea un piano di backup dell'istanza Harbor.

SYNOPSIS

gdcloud harbor backup-plans create BACKUP_PLAN [flags]

ESEMPI

To create a backup plan, run:
    gdcloud harbor backup-plans create daily-harbor-backup \
        --instance=my-harbor-registry \
        --backup-repository=main-repo \
        --cron-schedule="0 0 * * *" \
        --retain-days=45 \
        --description="Daily midnight backup for production registry"

FLAG OBBLIGATORI

      --backup-repository string   Name of the backup repository identifying the secondary storage for the backup.
      --cron-schedule string       Cron string schedule on which the backup is executed.
      --instance string            Name of the harbor instance to back up in the same namespace.

FLAG FACOLTATIVI

      --async                Run the operation in the background without waiting for it to complete.
      --description string   Description for this backup plan.
      --retain-days uint     Number of days after which the service deletes a backup. If not provided, backups are not subject to automatic deletion.
      --state string         State of the backup plan. Options are ACTIVE or PAUSED. (default "ACTIVE")
      --timeout duration     Timeout for waiting for the resource to become ready. (default 5m0s)

FLAG A LIVELLO DI GDCLOUD

Questi flag sono disponibili per tutti i comandi: --configuration, --format, --help, --project, --quiet.

Per saperne di più, consulta la pagina di panoramica del riferimento di CLI gdcloud.