Use the viocli backup command to create a backup of your OpenStack deployment. You can back up management server data, the OpenStack database, or your Swift ring files. An NFS server must be available for VMware Integrated OpenStack to mount.
The viocli backup command uses the following syntax.
viocli backup {mgmt_server | openstack_db | swift_ring} [-d NAME] NFS-VOLUME [--verbose]
Parameter | Mandatory or Optional | Description |
---|---|---|
-d NAME or --deployment NAME |
Optional |
Name of the deployment to use. If you do not enter a value, the default deployment is used. |
NFS-VOLUME |
Mandatory |
Name or IP address of the target NFS volume and directory in the format remote-host:remote-dir. For example: |
--verbose |
Optional |
Displays output in verbose mode. |
You can also run viocli backup -h or viocli backup --help to display the parameters for the command.
- Management server backups are created in a directory named with a timestamp in vio_ms_yyyymmddhhmmss format.
- OpenStack database backups are created in a directory named with a timestamp in vio_os_db_yyyymmddhhmmss format.
- Swift ring backups are created in a directory named with a timestamp in vio_swift_ring_yyyymmddhhmmss format.