Re: rsync-backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux