Skip to content
Real time file syncing daemon using rclone and inotify written in Bash
Shell
Branch: master
Clone or download
Pull request Compare This branch is 3 commits ahead of Leo-G:master.
Latest commit 584dfcc Nov 3, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jul 29, 2014
README.md Update README.md Nov 3, 2016
backup Modified to work with rclone instead of rsync Nov 3, 2016
initscript.bash Update initscript.bash Jul 29, 2014

README.md

backup-bash

Real time file syncing daemon using Rsync and Inotify written in Bash

Change the below variables in the backup file as per your requirement

Directory or file to watch or backup : backup_dir="/data"

Path to the server to copy changes: server_backup_dir="user@yourserver.com:/path/to/storebackup"

Path to directory to log errors and events: log_dir="backuperrors.txt"

Your email id, you will receive an email if the backup succeeded or failed: email="you@youremail.com"

In case you want to use the init script move the initscript.bash to /etc/init.d/ directory

and change the exec="/path/to/executable" to your executable directory

Tutorial on how original author built it is at http://techarena51.com/index.php/inotify-tools-example/

You can’t perform that action at this time.