docs: adjust to current defaults

Change-Id: I2e6b6ecd3717ff0811b47892aad406376c89a18c
This commit is contained in:
Piotr Parczewski 2022-01-03 10:15:18 +01:00
parent 0950b464f0
commit aaf06fb2a0

View File

@ -83,7 +83,7 @@ following options on the master database node:
docker run --rm -it --volumes-from mariadb --name dbrestore \
--volume mariadb_backup:/backup \
kolla/centos-binary-mariadb:train \
quay.io/openstack.kolla/centos-source-mariadb-server:|KOLLA_OPENSTACK_RELEASE| \
/bin/bash
(dbrestore) $ cd /backup
(dbrestore) $ rm -rf /backup/restore
@ -105,7 +105,7 @@ place:
docker run --rm -it --volumes-from mariadb --name dbrestore \
--volume mariadb_backup:/backup \
kolla/centos-binary-mariadb:train \
quay.io/openstack.kolla/centos-source-mariadb-server:|KOLLA_OPENSTACK_RELEASE| \
/bin/bash
(dbrestore) $ rm -rf /var/lib/mysql/*
(dbrestore) $ rm -rf /var/lib/mysql/\.[^\.]*
@ -134,7 +134,7 @@ incremental backup,
docker run --rm -it --volumes-from mariadb --name dbrestore \
--volume mariadb_backup:/backup --tmpfs /backup/restore \
kolla/centos-binary-mariadb:train \
quay.io/openstack.kolla/centos-source-mariadb-server:|KOLLA_OPENSTACK_RELEASE| \
/bin/bash
(dbrestore) $ cd /backup
(dbrestore) $ rm -rf /backup/restore