Files
docs/doc/source/backup/openstack/back-up-openstack.rst
Elisamara Aoki Gonçalves 179526837e Fix grey bar error in Back up OpenStack
Change-Id: Ic79e4de6120a7c990cb4b374ca442eaa1feae496
Signed-off-by: Elisamara Aoki Gonçalves <elisamaraaoki.goncalves@windriver.com>
2025-10-06 12:14:12 +00:00

62 lines
2.0 KiB
ReStructuredText

.. include:: /_stx-related-links/back-up-openstack.rln
.. RL strings
.. include:: /_vendor/rl-strings.txt
.. mdt1596804427371
.. _back-up-openstack:
=================
Back up OpenStack
=================
|prod-os| is backed up using the |prod| back-up facilities.
.. rubric:: |context|
The backup playbook will produce a OpenStack backup tarball in addition to the
platform tarball. This can be used to perform |prod-os| restores independently
of restoring the underlying platform.
The |prefix|-openstack backup can be performed using the following command:
.. code-block:: none
$ ansible-playbook /usr/share/ansible/stx-ansible/playbooks/backup.yml -e "ansible_become_pass=<sysadmin password> admin_password=<sysadmin password> openstack_app_name=|prefix|-openstack skip_os_dbs=['Database','information_schema','performance_schema','mysql','horizon','panko','gnocchi','sys']"
.. note::
Data stored in Ceph such as Glance images, Cinder volumes or volume backups
or Rados objects (images stored in ceph) are not backed up automatically.
.. _back-up-openstack-ul-ohv-x3k-qmb:
- To backup glance images use the ``image_backup.sh`` script. For example:
.. code-block:: none
~(keystone_admin)$ image-backup export <uuid>
- To back-up other Ceph data such as cinder volumes, backups in ceph or
rados objects use the :command:`rbd export` command for the data in
OpenStack pools cinder-volumes, cinder-backup and rados.
For example if you want to export a Cinder volume with the ID of:
611157b9-78a4-4a26-af16-f9ff75a85e1b you can use the following command:
.. code-block:: none
~(keystone_admin)$ rbd export -p cinder-volumes
611157b9-78a4-4a26-af16-f9ff75a85e1b
/tmp/611157b9-78a4-4a26-af16-f9ff75a85e1b
To see the the Cinder volumes, use the :command:`openstack volume-list`
command.
After export, copy the data off-box for safekeeping.
For details on performing a |prod| back-up, see
|backing-up-starlingx-system-data|.