Linux Watcher + Duplicity

The achievement are to backup the server file every time the file update in certain folder and giving solution for the server load problem. Instead copying a lots of files every X minutes, this apps can help us to copying per file update.

yum install duplicity --enablerepo=epel
tar -zxvf master
mv watcher.ini /etc/
cp -p /usr/sbin/
Edit watcher.ini

command=export AWS_ACCESS_KEY_ID=EDITKEY;export AWS_SECRET_ACCESS_KEY=EDITKEY;/usr/bin/duplicity $filename --no-encryption --no-compression --no-print-statistics s3+http://BUCKETNAME

Start the watcher:

/usr/sbin/ start

Leave a Reply

Your email address will not be published. Required fields are marked *

High Anonymity Proxy menggunakan Squid

S3 backups using BACKUP-Gem