Performs regular backups of all the GitHub repositories you have access to (it'll exclude organisations it doesn't have specific permission to access), automatically downloading any new repositories and updating any existing ones.
You can generate a personal access token here https://github.com/settings/tokens.
docker run \
--restart unless-stopped \
-v </path/to/backup/folder>:/ghbackup \
-e GITHUB_SECRET=<GITHUB_SECRET> \
-e CRON_EXPRESSION=<CRON_EXPRESSION> \
digitalpardoe/ghbackup
-v /ghbackup
- folder to store the GitHub backups-e GITHUB_SECRET
- access token (recommended) for the GitHub user-e CRON_EXPRESSION
- cron expression for when to run a backup