Merge "Fix Bifrost database backup instructions"
This commit is contained in:
commit
2f08649d6b
@ -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
|
||||||
================
|
================
|
||||||
|
Loading…
Reference in New Issue
Block a user