A little backuper for my personal projects without extra dependencies. Compresses files to .lzma
and folders to .tar.xz.
- Edit config.json
- Enter the path of folder to contain your backups (as a string):
backup_dest_dir
- Enter all the file/folder paths you want to back up (as a list of strings):
files_and_folders
- Enter the path of folder to contain your backups (as a string):
- Run the script.
python3 main.py [interval in seconds]
{ "backup_dest_dir": "/home/user/backups", "files_and_folders": [ "/home/user/important-folder-1", "/home/user/very-important-file-1", "/home/user/iwannabackup.this" ] }
python3.11 -m venv venv
source venv/bin/activate
python main.py 3600