JeffResc / Github-Backup-Docker-Util

A Docker utility to backup your Github account anywhere using rclone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github-Backup-Docker-Util

Docker Cloud Build Status GitHub last commit

Backup your entire GitHub account to a remote location using Docker

Utilities used

Setting Up

  • First, get a hold of your rclone.conf file. You can do this by running rclone config (in this container or not) and then finding the file at ~/.config/rclone/rclone.conf. Once you have that file, be sure to mount it to ~/.config/rclone/rclone.conf in the container using a volume. Feel free to store this anywhere on the host machine in a safe, but accessible location.
  • Modify the .env file by using .env.sample as your template. Either use the .env file and enable it when running the container using --env-file or the -e flag.
  • Run the following command while being sure to subsitute your own environment file and rclone.conf volume paths: docker run --rm -v ~/Github-Backup-Docker-Util/rclone:/root/.config/rclone --env-file ~/Github-Backup-Docker-Util/.env jeffresc/github-backup:latest

About

A Docker utility to backup your Github account anywhere using rclone

License:MIT License


Languages

Language:Shell 74.0%Language:Dockerfile 26.0%