Finalize manual backup

This commit is contained in:
Quentin 2022-01-28 18:44:07 +01:00
parent 89937f2107
commit 37bea48d45

View file

@ -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. 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.* 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 ## Ref