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.
You must install and configure a storage node prior to installing and configuring the backup service.
Install and configure components¶
Perform these steps on the Block Storage node.
Install the packages:
# yum install openstack-cinder
/etc/cinder/cinder.conffile and complete the following actions:
[DEFAULT]section, configure backup options:
[DEFAULT] # ... backup_driver = cinder.backup.drivers.swift.SwiftBackupDriver backup_swift_url = SWIFT_URL
SWIFT_URLwith the URL of the Object Storage service. The URL can be found by showing the object-store API endpoints:
$ openstack catalog show object-store
Start the Block Storage backup service and configure it to start when the system boots:
# systemctl enable openstack-cinder-backup.service # systemctl start openstack-cinder-backup.service