Sign inSign up

digitalpardoe/ghbackup

By digitalpardoe

•Updated 10 months ago

Image
0

510

digitalpardoe/ghbackup repository overview

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⁠.

⁠Usage

docker run \
  --restart unless-stopped \
  -v </path/to/backup/folder>:/ghbackup \
  -e GITHUB_SECRET=<GITHUB_SECRET> \
  -e INTERVAL=<SECONDS_BETWEEN_BACKUPS> \
  digitalpardoe/ghbackup

⁠Parameters

  • -v /ghbackup - folder to store the GitHub backups
  • -e GITHUB_SECRET - either the password or personal access token (recommended) for the GitHub user
  • -e INTERVAL - number of seconds between backups (I'd recommend 3600 or greater)

Tag summary

Content type

Image

Digest

sha256:b75b9401d…

Size

20 MB

Last updated

10 months ago

docker pull digitalpardoe/ghbackup