Tergum - An elegant way to backup dot files using git and Docker
It copies everything in the /app folder to a git repository every 6 hours. See below for details
- Mount the folders you want to backup to the
/app
folder inside the container. - Specify the URL to the repository you want to publish in the
config/GIT_REPOSITORY_URL
file. - Place your private key to be used to push to the repository under the
config/id_rsa
file. - You can also set the
GIT_USERNAME
and theGIT_EMAIL
environment variables to be used in commits - Edit the backup-repository-cron file if you want to backup more or less often than 6 hours.
- Jessy SOBREIRO (jessy.sobreiro@epitech.eu)