mirror of
https://github.com/UiO-Gaming/drift.git
synced 2026-11-05 13:56:46 +01:00
- deploy/uiogaming-deploy: forced command for github_deploy's SSH key. Pulls the repo and rebuilds one service from /srv/uiogaming/docker-compose.yml, fixing deploys that failed on container-name conflicts. - backup/backup_db.sh: nightly pg_dumpall of all databases, gzipped, 14-day retention. - cron/uiogaming.crontab: the uiogaming user's crontab. - Document the new deploy setup and the move to /srv/uiogaming. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
442 B
Plaintext
8 lines
442 B
Plaintext
# Crontab for the uiogaming user on the server.
|
|
# Install (replaces the whole crontab!): crontab cron/uiogaming.crontab
|
|
# Show what's installed: crontab -l
|
|
|
|
# Nightly backup of all Postgres databases (see ../backup/backup_db.sh).
|
|
# The rsync user pulls /srv/uiogaming/.backups off-site at 03:00, so this must finish before then.
|
|
0 2 * * * /srv/uiogaming/.backups/backup_db.sh >> /srv/uiogaming/.backups/logs/backup.log 2>&1
|