aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--op_guide/stolon/manual_backup.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/op_guide/stolon/manual_backup.md b/op_guide/stolon/manual_backup.md
index 4cbc055..1e02ac4 100644
--- a/op_guide/stolon/manual_backup.md
+++ b/op_guide/stolon/manual_backup.md
@@ -269,6 +269,19 @@ zstdcat -vv dump-* | \
Because we want to be extra careful, we specifically asked to crash on every error and do not want to change this behavior.
So, instead, we simply remove any entry that contains the specific regex stated in the previous command.*
+Check that the backup has been correctly restored.
+For example:
+
+```bash
+docker exec -ti postgres psql
+#then type "\l", "\c db-name", "select ..."
+```
+
+## Finally, store it safely
+
+```bash
+rsync --progress -av /tmp/sql/{*.tar.gz,backup_manifest,dump-*} backup/target
+```
## Ref