Automate saving configs into git repository. Here and below git repo means you local copy of git repository with backup copies of files
- Initilize gikkon
gikkon init
- List files under gikkon control
gikkon list
- Add new file under backup control
gikkon add <fname>
- Copy changed in the host system files into git repo and push changes
gikkon backup
- Commit changes in git repo to the remote server
gikkon commit
See gikkon --help
or gikkon <command> --help
for more detailes
- python >= 3.9
- poetry >= 1.0
- Simply run
make all
- Change
path
in config file ($HOME/.config/gikkon/config.toml
by defalt) to path to your git repo for backups
There is a package for lucky Arch users
https://github.com/bronvic/config
And father of gikkon: https://github.com/bronvic/config/blob/c5a8a8ea9a0628638f1a1c4b828b91c5eae4e6fe/backup.sh