'apt-get' is more primitive command than 'apt'. In addition, 'apt' is the most recommended interface.[1] [1]https://debian-handbook.info/browse/stable/sect.apt-get.html Change-Id: I40dd27f3856a84f936236679cd0201b079a2172e
2.1 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.
obs
Install the packages:
# zypper install openstack-cinder-backup
rdo
Install the packages:
# yum install openstack-cinder
ubuntu or debian
Install the packages:
# apt install cinder-backup
- 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 backup_swift_url = SWIFT_URL
Replace
SWIFT_URL
with the URL of the Object Storage service, typicallyhttp://10.0.0.51:8080/v1/AUTH_
if using the installation guide architecture.
Finalize installation
obs or rdo
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
ubuntu or debian
Restart the Block Storage backup service:
# service cinder-backup restart