How to backup and restore OpenStack
Environment
- Red Hat Enterprise Linux OpenStack Platform (RHEL-OSP) 4.0 - 8.4
- Red Hat OpenStack Platform 8 - 16
Issue
- I would like to take regular backup of database, configuration files and other details from all OpenStack controller nodes (keystone, glance, Neutron and etc) and use them to restore when one of them crashes beyond recovery. What is the procedure to Backup and Restore?
- What is the OpenStack backup strategy for instances (VMs) on this platform?
- For disaster recovery purpose, I will be able to backup and restore entire OpenStack database. What is the right procedure to backup and restore MariaDB database while running highly available with Galera?
Resolution
Red Hat is planning for a fully mature process to backup and restore both the undercloud and overcloud by Red Hat OpenStack Platform 16.1. Development of Tooling for Control Plane Backup and Restore is being tracked in Bug This content is not included.1883620. For more information or to also request this feature, please This content is not included.open a case with Red Hat Support.
Procedure to backup critical control plane services and files can be found:
The current procedure for OpenStack director's Undercloud can be found in the Backup and Restore Guide for:
- This content is not included.Undercloud 7
- This content is not included.Undercloud 8
- This content is not included.Undercloud 9
- Undercloud 10
- This content is not included.Undercloud 11
- This content is not included.Undercloud 12
- Undercloud 13
- This content is not included.Undercloud 14
- Overcloud - Full instructions are coming soon. Instructions on how to back up highly available MariaDB are available.
For older releases of OpenStack, the backup and restore procedures can be found in the Installation and Configuration Guide:
- This content is not included.OpenStack 4
- This content is not included.OpenStack 5
- This content is not included.OpenStack 6
Additional Content from docs.openstack.org is not included.upstream documentation is also available.
Additionally make sure to take backup of ssh keys of nova user on the compute nodes, used for migrating the instances between the compute nodes.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.