Automatic backup system for a user's GitHub repositories, designed to run on a Raspberry Pi (Debian Linux) without a graphical interface.
- Detect new GitHub repositories
- Update existing repositories
- Maintain a local copy (standard clone or mirror)
- Schedule execution via systemd
- Provide LaTeX technical documentation
config/: user configuration (config.env)src/: Bash modules (GitHub API, Git operations, logging, prerequisites)systemd/: systemd service and timerscripts/: installation and activationdoc/: documentationtests/: basic tests
- Install dependencies and enable the timer:
./scripts/install.sh - Edit the configuration:
config/config.env - Verify GitHub CLI authentication:
gh auth status
The installation uses the systemd files located in the systemd/ directory and enables a daily timer.
./src/backup.shLogs are written to logs/backup.log.
The documentation is located in doc/.