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 [-d [NAME]] <DIR_NAME | NFS_VOLUME> [-h] [-v]
viocli restore openstack_db [-d [NAME]] <DIR_NAME | NFS_VOLUME> [-h] [-v]

Parameter

Mandatory or Optional

Description

-d, --deployment NAME

Automatic

Name of deployment to use.

Applied automatically. The default value is the name of the current deployment.

Use one of the following positional arguments

DIR_NAME

NFS_VOLUME

Mandatory

DIR_NAME

Name of the NFS directory containing the backup file.

NFS_VOLUME

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.

-h, --help

Optional

Show the use and arguments for this command.

-v, --verbose

Optional

Enter verbose mode.

The backup file of the VMware Integrated OpenStack management server is labeled with the time stamp vio_ms_yyyymmddhhmmss. The backup file of the VMware Integrated OpenStack database is labeled with the time stamp vio_os_db_yyyymmddhhmmss.