You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/operations-guide/infrastructure.md
+61-6Lines changed: 61 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -109,18 +109,72 @@ EOF
109
109
110
110
### Restore
111
111
112
-
* Stop all MariaDb Instances
113
-
112
+
* Gather the image and tag the current mariadb container
113
+
* Opetion 1: Evaluate variables
114
+
(Follow the references. TODO: Is there a more conventient way to do that??
115
+
```
116
+
osism dump inventory <host> mariadb_image
117
+
osism dump inventory <host> mariadb_tag
118
+
osism dump inventory <host> kolla_mariadb_version
119
+
```
120
+
* Opetion 2: Get image refernce from running container
121
+
```
122
+
ssh <first controller node>
123
+
docker ps|grep mariadb-server
124
+
```
125
+
* Stop all MariaDB Instances
114
126
```
115
-
osism apply -s stop maria
127
+
osism apply -a stop mariadb
116
128
```
117
-
118
-
* Follow the [restore procedure described in the kolla-ansible manual](https://docs.openstack.org/kolla-ansible/latest/admin/mariadb-backup-and-restore.html#restoring-backups)
129
+
* Perform restore operation<BR>
130
+
(Based on the the [restore procedure described in the kolla-ansible manual](https://docs.openstack.org/kolla-ansible/latest/admin/mariadb-backup-and-restore.html#restoring-backups))
131
+
* Login to the first controller nodes where the backups reside
0 commit comments