CmdID / aws / aws backup
aws backup create-backup-vault
Creates a logical container where backups are stored. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To create a backup vault
The following create-backup-vault example creates a backup vault with the specified name.
aws backup create-backup-vault --backup-vault-name sample-vaultIdentify--backup-vault-nameThe name of a logical container where backups are stored.This command produces no output. Output:
{
"BackupVaultName": "sample-vault",
"BackupVaultArn": "arn:aws:backup:us-west-2:123456789012:backup-vault:sample-vault",
"CreationDate": 1568928338.385
}
For more information, see Backup vault creation and deletion in the AWS Backup Developer Guide.
Options
--backup-vault-nameThe name of a logical container where backups are stored.--backup-vault-tagsThe tags to assign to the backup vault.--creator-request-idA unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.--encryption-key-arnThe server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.