osc compute server create-backup21

Create Server Back Up (createBackup Action) (microversion = 2.1)

Usage: osc compute server create-backup21 [OPTIONS] --backup-type <BACKUP_TYPE> --name <NAME> --rotation <ROTATION> <ID>

Arguments:

  • <ID> — id parameter for /v2.1/servers/{id}/action API

Options:

  • --backup-type <BACKUP_TYPE> — The type of the backup, for example, daily
  • --metadata <key=value> — Metadata key and value pairs. The maximum size of the metadata key and value is 255 bytes each
  • --name <NAME> — The name of the image to be backed up
  • --rotation <ROTATION> — The rotation of the back up image, the oldest image will be removed when image count exceed the rotation count