cinder/doc/source/install/cinder-backup-install-ubuntu.rst
Bi Shun Ke 377e51a0f9 [DOCFIX] Correct Cinder Backup Driver Option Value
Change-Id: Ia4dc1ccfdccceac974c5fb14a9cc023c7472f0ea
Closes-Bug: #1837240
2019-07-21 22:20:35 +08:00

1.4 KiB

orphan

Install and configure the backup service

Optionally, install and configure the backup service. For simplicity, this configuration uses the Block Storage node and the Object Storage (swift) driver, thus depending on the Object Storage service.

Note

You must install and configure a storage node <cinder-storage> prior to installing and configuring the backup service.

Install and configure components

Note

Perform these steps on the Block Storage node.

  1. Install the packages:

    # apt install cinder-backup
  2. Edit the /etc/cinder/cinder.conf file and complete the following actions:

    • In the [DEFAULT] section, configure backup options:

      [DEFAULT]
      # ...
      backup_driver = cinder.backup.drivers.swift.SwiftBackupDriver
      backup_swift_url = SWIFT_URL

      Replace SWIFT_URL with the URL of the Object Storage service. The URL can be found by showing the object-store API endpoints:

      $ openstack catalog show object-store

Finalize installation

Restart the Block Storage backup service:

# service cinder-backup restart