It is a best practice to periodically back up your OpenStack management server and database.

About this task

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

Prerequisites

You must log in with administrative or super-user (sudo) privileges to perform backup operations.

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 backup <-v | -verbose>
  4. (Optional) View the help options.
    viocli backup <-h | -help>
  5. Use the viocli backup mgmt_server <NFS_VOLUME> command to back up the OpenStack management server.
    viocli backup mgmt_server [-d DEPLOYMENT] <NFS_VOLUME>

    Option

    Description

    -d DEPLOYMENT

    Specifies the name of the VMware Integrated OpenStack deployment to be backed up.

    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

    The backup file is automatically labeled with the timestamp vio_ms_yyyymmddhhmmss.

  6. Back up the OpenStack database.
    viocli backup openstack_db [-d DEPLOYMENT] <NFS_VOLUME>

    Option

    Description

    -d DEPLOYMENT

    Specifies the name of the VMware Integrated OpenStack deployment database to be backed up..

    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

    The backup file is automatically labeled with the timestamp vio_os_db_yyyymmddhhmmss.

Results

If a severe event occurs, you can use the new backup files to restore your VMware Integrated OpenStack deployment data and configuration.