If a crash occurs, you can restore your VMware Integrated OpenStack management server and OpenStack database from a previous backup.

Before you begin

Log in with administrative or super-user (sudo) privileges to perform restore operations.

Verify that you have backups of the management server and database available. See Back Up the VMware Integrated OpenStack Deployment.

About this task

You perform restore operations in the CLI for the VMware Integrated OpenStack Manager.

Procedure

  1. Using SSH, log in to the VMware Integrated OpenStack manager.
  2. Switch to root user.
    sudo su -
  3. (Optional) : Switch to verbose mode.
    viocli restore <-v | -verbose>
  4. (Optional) : View the help options.
    viocli restore <-h | -help>
  5. Restore the OpenStack management server, where PATH specifies the intended location for the backup file..
    viocli restore mgmt_server \
    [-d DEPLOYMENT] \
    <BACKUP_NAME> \
    <NFS_VOLUME> 

    Option

    Description

    -d DEPLOYMENT

    Indicates the backup by the deployment name assigned when it was created.

    BACKUP_NAME

    Indicates the timestamp label of the backup file to be used to restore the management server.

    NFS_VOLUME

    Indicates the NFS host where the backup file is located.

  6. Restore the OpenStack database.
    viocli restore openstack_db \
    [-d DEPLOYMENT] \
    <BACKUP_NAME> \
    <NFS_VOLUME> 

    Option

    Description

    -d DEPLOYMENT

    Indicates the backup by the deployment name assigned when it was created.

    BACKUP_NAME

    Indicates the timestamp label of the backup file to be used to restore the database.

    NFS_VOLUME

    Indicates the NFS host where the backup file is located.

Results

You restore your VMware Integrated OpenStack management server and OpenStack database to the state of the backups.