shyam wrote:
hi guys

i am just trying to use rsync for backup , can anybody tell me how i can do incremental backup ie only the new or modified files should go for backup

any help is precious

This is a script that I use to do hourly backups of the /home directory on one of my servers:



#! /bin/bash rsync -e ssh -avz \ --exclude "httpd/logs/access_log" \ --exclude "httpd/logs/error_log" \ --exclude "httpd/logs/AsA_access_log" \ --exclude "httpd/data/PAP_USE" \ aa:/home/ /home


The script sits on the backup server, and backups the main server (aa) onto it.


HTH,
Bill


-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to