Skip to content

Commit

Permalink
Merge "Fix Bifrost database backup instructions" into unmaintained/yoga
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Apr 29, 2024
2 parents 11eb008 + 95891e6 commit e5bd9db
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions doc/source/administration/seed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ Backup
It should be safe to keep services running during the backup, but for maximum
safety they may optionally be stopped::

docker exec -it bifrost_deploy \
systemctl stop ironic-api ironic-conductor ironic-inspector
docker exec -it bifrost_deploy systemctl stop ironic ironic-inspector

Then, to perform the backup::

Expand All @@ -123,17 +122,15 @@ Then, to perform the backup::

If the services were stopped prior to the backup, start them again::

docker exec -it bifrost_deploy \
systemctl start ironic-api ironic-conductor ironic-inspector
docker exec -it bifrost_deploy systemctl start ironic ironic-inspector

Restore
^^^^^^^

Prior to restoring the database, the Ironic and Ironic Inspector services
should be stopped::

docker exec -it bifrost_deploy \
systemctl stop ironic-api ironic-conductor ironic-inspector
docker exec -it bifrost_deploy systemctl stop ironic ironic-inspector

The database may then safely be restored::

Expand All @@ -142,8 +139,7 @@ The database may then safely be restored::

Finally, start the Ironic and Ironic Inspector services again::

docker exec -it bifrost_deploy \
systemctl start ironic-api ironic-conductor ironic-inspector
docker exec -it bifrost_deploy systemctl start ironic ironic-inspector

Running Commands
================
Expand Down

0 comments on commit e5bd9db

Please sign in to comment.