Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 876 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 876 Bytes

github-backup-docker Docker Automated build

Dockerized version of python-github-backup with extra automation. This container makes a backup daily and keeps up to defined number of backups.

Install and run

  1. Generate github access token
  2. Get provided docker-compose.yml. If needed change the mapping for volumes and MAX_BACKUPS number
  3. Change TZ (see the list)
  4. Set both GITHUB_USER and GITHUB_ACCESS_TOKEN (in environment or directly in docker-compose.yml)
  5. Run docker-compose up -d to initiate daily backup

Build

  1. Clone this repo
  2. run docker-compose build