gdcloud backup plans create

名前

gdcloud backup plans create - バックアップ プランを作成します。

概要

gdcloud backup plans create BACKUP_PLAN_NAME [flags]

説明

指定された情報でバックアップ プランを作成します。

EXAMPLES

To create a backup plan named "backup-plan-name", run:

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

必須フラグ

      --backup-repo string             Target repository that stores the backups.
      --cluster-name string            Backup plan target cluster name.
      --project string                 Backup plan project name.
      --schedule string                Schedule indicating when to schedule backups (Daily/Weekly/Monthly/Custom).
      --scope string                   Scope indicates parts of the resources are backed up.
      --scope-namespaces stringArray   Scope namespaces are the list of namespaces.

オプションのフラグ

      --custom-schedule string   A crontab schedule indicating when to schedule backups.If --schedule set "Custom".
      --delete-lock uint         Prevents deletion of the backup for the number of days specified after backup creation.
      --include-persistence      Include persistent volume data.
      --include-secrets          Include secrets.Secrets may include sensitive data such as passwords, tokens, or keys.
      --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.
      --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 ワイドフラグ

これらのフラグは、すべてのコマンドで使用できます: --configuration--format--help--project--quiet

詳細については、gdcloud CLI リファレンスの概要ページをご覧ください。