[rhn-users] rsync one source + multiple destinations

Raj Kumar rajkum2002 at rediffmail.com
Tue May 24 21:08:28 UTC 2005


Hello everyone,

How do I synchronize source directory to multiple disks using rsync or similar tools?

Our application would be generating lots and lots of data regularly. This data is written onto the SAN storage. Now, I would like to backup this data to usb removable disks, say of size 100GB. Since the source directory can be larger than removable disk size I have to split it into multiple disks.  Is there an rsync like application that recognizes that removabledisk1 is full and uses removablediskfull2 automatically but yet considers the data on removabledisk1 when synchronizing?

Example:

rsync -a source dest1
source=102GB
dest=100GB

rsync cannot sync source completely to dest1. So it uses dest2. The backup application must then copy the files that weren't copied to dest1 onto dest2. If a file on dest1 has been updated it must either be updated on dest1 or if there is not enough space it should be deleted on dest1 and created on dest2. 
In the end:

files on source == files on dest1 + files on dest2

We cannot use raid or lvm to solve this. Any other ideas?

Thanks for your help!
Raj  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20050524/1b6672c6/attachment.htm>


More information about the rhn-users mailing list