Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to do volume backup with retention period

Hi Team, How to do a backup volume with retention period, please?

I didn't find a specific parameter or extra-parameter to do this, something like:

$openstack volume backup create --force --metadata backups_retention_days=1 vol1

usage: openstack volume backup create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] [--name <name>] [--description <description>] [--container <container>] [--snapshot <snapshot>] [--force] [--incremental] <volume> openstack volume backup create: error: unrecognized arguments: --metadata vol1

$ openstack --version = openstack 3.14.3

Thanks in advance,

How to do volume backup with retention period

Hi Team, How to do a backup volume with retention period, please?

I didn't find a specific parameter or extra-parameter to do this, something like:

$openstack volume backup create --force --metadata backups_retention_days=1 vol1

usage: openstack volume backup create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--fit-width] [--print-empty] [--noindent] [--prefix PREFIX] [--name <name>] [--description <description>] [--container <container>] [--snapshot <snapshot>] [--force] [--incremental] <volume> openstack volume backup create: error: unrecognized arguments: --metadata vol1

$ openstack --version = openstack 3.14.3

Thanks in advance,