vault backup: 2025-05-08 17:09:03

This commit is contained in:
Janik von Rotz committed 2025-05-08 17:09:03 +02:00
1 parent 664a404f9f
commit ee7f7b3a6f
1 file changed
+3 -1
+3 -1
View File
@@ -1,5 +1,7 @@
---
lang: en
tags:
- Templates
---
# Playbook Upgrade Odoo XX.0
@@ -27,7 +29,7 @@ Backup database and restore database if target postgres container is different.
```bash
ssh -p "$PORT" "$SERVER" docker-postgres-backup -c "$POSTGRES_CONTAINER" -d "$DATABASE"
ssh -p "$PORT" "$SERVER" docker-postgres-restore -c "$TARGET_POSTGRES_CONTAINER" -d "$DATABASE" -f "/var/tmp/$POSTGRES_CONTAINER/$DATABASE.sql"
ssh -p "$PORT" "$SERVER" docker-postgres-restore -c "$TARGET_POSTGRES_CONTAINER" -d "$DATABASE" -f "/var/tmp/$POSTGRES_CONTAINER/$DATABASE.sql" -r
```
## Upgrade ⬆️