Backs up files and tracks backups
- docker
- docker compose
The following scripts are to be run manually by a privleged user:
- rotate-ssh-key.sh - generates an SSH public/private key pair for use by the backup user. Gets stored in lucos_creds.
- init-host.sh - sets up a host so the backups service can interact with it.
docker compose up --build
Tracking data is refreshed on an hourly cronjob. To manually trigger it, click the 🔃 button in the bottom right of the home page.
The backup script is run on a daily cronjob.
To manually trigger it, the following needs to run inside the container:
source init-agent.sh && pipenv run python -u do-backups.py