mirror of
https://github.com/cupcakearmy/ixesha.git
synced 2025-12-08 22:55:02 +00:00
c39e9f40f93e6fbbc7d31ef1acd34b5cf98da2db
Ixesha
🗄 Make incremental snapshots to backup any folder to any location/server.
🐍 Written in python.
Example 💥
python3 ixesha.py --backup ~/ --output /mnt/backup/home
Setup
Requirements
Python3rsync(min. v3.1.1)
Installation 🚂
macOS
- Install brew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - Install
python3andrsync:brew install python3 rsync
debian / ubuntu
apt install -y python3 rsync
windows
Well... I don't know...
Usage 👾
Run 🚀
python3 ixesha.py --backup <my-folder> --output <where-to-save-it>
or with only bash: ./ixesha -b <my-folder> -o <where-to-save-it>
Example
Backup my home folder for example to some mounted drive
python3 ixesha.py --backup ~/ --output /mnt/backupdrive/home
Arguments
-h--helpShow help dialog-b--backupThe folder to be backed up-o--outputLocation where the snapshots will be saved
Cron 🕰
If you want to run it every x... you can create a cronjob
Example:
Run the script every 5 Min (More details on cronjobs)
- Edit your cron file with:
crontab -e - Add:
*/5 * * * * python3 /path/to/ixesha.py -b /some/folder -o /some/backup/location
Description
Languages
Python
100%