/Tergum

Tergum - An elegant way to backup dot files using git and Docker

Primary LanguageDockerfileGNU General Public License v3.0GPL-3.0

Tergum

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

How it works ?

  • 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 the GIT_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.

Credits