Reduce memory footprint during backup
This commit is contained in:
parent
4f263b2e61
commit
93404eab2d
@ -188,8 +188,13 @@ write_files:
|
|||||||
|
|
||||||
mkdir -p /var/backups/happydomain
|
mkdir -p /var/backups/happydomain
|
||||||
|
|
||||||
|
# Reduce memory footprint during backup
|
||||||
|
docker stop pdns-demo-happydomain
|
||||||
|
|
||||||
docker exec -i app-happydomain hadmin /api/backup.json -X POST > /var/backups/happydomain/db.json
|
docker exec -i app-happydomain hadmin /api/backup.json -X POST > /var/backups/happydomain/db.json
|
||||||
|
|
||||||
|
docker start pdns-demo-happydomain
|
||||||
|
|
||||||
restic backup /var/backups/happydomain
|
restic backup /var/backups/happydomain
|
||||||
path: /etc/cron.daily/backup_happydomain
|
path: /etc/cron.daily/backup_happydomain
|
||||||
permissions: 0o755
|
permissions: 0o755
|
||||||
|
Loading…
Reference in New Issue
Block a user