Merge "Fix Bifrost database backup instructions" into unmaintained/yoga

This commit is contained in:
Zuul 2024-04-29 12:59:40 +00:00 committed by Gerrit Code Review
commit e5bd9db48c
1 changed files with 4 additions and 8 deletions

View File

@ -113,8 +113,7 @@ Backup
It should be safe to keep services running during the backup, but for maximum It should be safe to keep services running during the backup, but for maximum
safety they may optionally be stopped:: safety they may optionally be stopped::
docker exec -it bifrost_deploy \ docker exec -it bifrost_deploy systemctl stop ironic ironic-inspector
systemctl stop ironic-api ironic-conductor ironic-inspector
Then, to perform the backup:: Then, to perform the backup::
@ -123,8 +122,7 @@ Then, to perform the backup::
If the services were stopped prior to the backup, start them again:: If the services were stopped prior to the backup, start them again::
docker exec -it bifrost_deploy \ docker exec -it bifrost_deploy systemctl start ironic ironic-inspector
systemctl start ironic-api ironic-conductor ironic-inspector
Restore Restore
^^^^^^^ ^^^^^^^
@ -132,8 +130,7 @@ Restore
Prior to restoring the database, the Ironic and Ironic Inspector services Prior to restoring the database, the Ironic and Ironic Inspector services
should be stopped:: should be stopped::
docker exec -it bifrost_deploy \ docker exec -it bifrost_deploy systemctl stop ironic ironic-inspector
systemctl stop ironic-api ironic-conductor ironic-inspector
The database may then safely be restored:: The database may then safely be restored::
@ -142,8 +139,7 @@ The database may then safely be restored::
Finally, start the Ironic and Ironic Inspector services again:: Finally, start the Ironic and Ironic Inspector services again::
docker exec -it bifrost_deploy \ docker exec -it bifrost_deploy systemctl start ironic ironic-inspector
systemctl start ironic-api ironic-conductor ironic-inspector
Running Commands Running Commands
================ ================