The backup
CLI takes the backup of the entire topology (for all the appliances) in the input to prepare for migration.
It is recommended to generate backups for entire topology at once for consistent backup. Backups are stored under /migrationVolume/tcaMgr-<IP>
.
backup CLI
$ python3 vm_cn_migration.py backup -h usage: vm_cn_migration.py backup [-h] [-c CLEANUP] input_file Generates backup of the entire topology (for all the appliances) or given appliances in the input to prepare for migration positional arguments: input_file input file containing TCA manager and TCA-CP details. options: -h, --help show this help message and exit -c CLEANUP, --cleanup CLEANUP if specified, cleans up the directory of old backups. Default: false
Input is same as specified above.
backup CLI
python3 vm_cn_migration.py backup input.json
Note:
By default, the migration tool does not delete any old backups attempted to preserve data. If backup exists, it is reused in retry attempts. You can provide -c
option to cleanup up the existing backups before taking fresh backup.