Use the viocli restore command to restore a deployment from a backup file previously created by using the viocli backup command. You can restore a backup of either management server data or of the OpenStack database.

The viocli restore command uses the following syntax.

viocli restore {mgmt_server | openstack_db} [-d NAME] DIR-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.

DIR-NAME

Mandatory

Directory containing the backup file.

NFS-VOLUME

Mandatory

Name or IP address of the target NFS volume and directory in the format remote-host:remote-dir.

For example: 192.168.1.77:/backups

--verbose

Optional

Displays output in verbose mode.

You can also run viocli restore -h or viocli restore --help to display the parameters for the command.

The backup file of the VMware Integrated OpenStack management server is labeled with a timestamp in vio_ms_yyyymmddhhmmss format. The backup file of the VMware Integrated OpenStack database is labeled with a timestamp in vio_os_db_yyyymmddhhmmss format.