A simple tool that can be used to create encrypted backups with git. The main purpose of this is learning...
-
sgit encrypt- compresses contents from specified path
- encrypts the compressed data using AES
- save encrypted data in a specified location (within the repo-folder)
- automatically call the following git commands:
git add ...git commit -m "created encrypted backup"git push
-
sgit decrypt- execute
git pull - decrypt the pulled data
- store compressed data in the backup-folder
- execute
-
sgit update(as i imagine it this will mostly be used aftersgit decrypt)- decompress the backup data
- replace the "actual data" with the decompressed backup-data