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
{{ message }}
This repository was archived by the owner on Jan 12, 2022. It is now read-only.
On systems installed from .deb package, a cronjob should be automatically setup to perform backups. On a development system, you can manually run the same process:
94
+
95
+
```
96
+
docker-compose run postgres-backup /bin/backup_db
97
+
```
98
+
91
99
## Restoring a database backup
92
100
93
101
First, ensure you have a backup and delta to restore from! On systems installed from .deb package, the files are stored on the docker host under /backups by default.
94
102
95
103
Pause the backup cron on the docker host by commenting the job:
96
104
97
105
```
98
-
# sed -i 's/^\([^#]\)/#\1/g' /etc/cron.d/postgres-backup
106
+
sed -i 's/^\([^#]\)/#\1/g' /etc/cron.d/postgres-backup
0 commit comments