- rsync incremental rolling backups
- postgres database dumps
- periodically with systemd timer
[Unit]
Descriptio=Backup dokku config and dump databases
[Service]
Type=oneshot
ExecStart=/home/lendl/dokku-backup/backup.sh
[Unit]
Description=Run dokku-backup daily at 5:00
[Timer]
OnCalendar=5:00
Persistent=true
[Install]
WantedBy=timers.target
systemctl daemon-reload
systemctl enable dokku-backup.timer --now