Giback is a command-line utility for easily backing up your files to git repositories. After setting up a configuration file listing your desired files, and the respective target repository, you can then at any time command giback to backup your files.
$ giback all
Running unit 'my_backup'.
Pulling git changes.
Identifying files...
/home/my_user/Documents/personal_notes.txt
/home/my_user/Documents/work.org
/home/my_user/photos/trip.jpg
Files copied.
Committing: Backing up with Giback!
Pushing...
Done!
- Manual: https://dhuan.github.io/giback
- Downloads: https://github.com/dhuan/giback/releases
The only requirement to compile is to have Go installed.
git clone [email protected]:dhuan/giback.git
cd giback
make build
Once compilation has finished successfully, a giback
executable should then be available at the current dir.
- Only has been tested in Linux. Probably will not work in Windows.
- Works only with files. Backing up directories still not supported.