kapplersvictory
Programmer
I am trying to create a backup/failsafe strategy between two servers
One is currently running mail services and another is running file server.
At the end of each day I want the mail server to synchronize the mailboxes to the file server and the file server to synchronize user's homes on the mailserver.
rsync -vrae 'ssh -p2222' --delete mailserver:/var/spool/mail fileserver:/var/spool/mail
The command above works perfectly and deletes/replace old or emptied mailboxes files if necessary.
I have succesfully mirrored users on both servers, following a recent post on this forum.
Now I want to run a similar command to synchronize home directories.
rsync -vrae 'ssh -p2222' --delete fileserver:/home/ mailserver:/home
For some strange reason the above command seems to copy all home's files again each time, taking forever obviously, and on top of it, it doesn't delete files that don't exist anymore on the source server.
Any idea why this would happen?
KV
I had a cool footer but the webmaster told me to remove it! America is the land of freedom...
One is currently running mail services and another is running file server.
At the end of each day I want the mail server to synchronize the mailboxes to the file server and the file server to synchronize user's homes on the mailserver.
rsync -vrae 'ssh -p2222' --delete mailserver:/var/spool/mail fileserver:/var/spool/mail
The command above works perfectly and deletes/replace old or emptied mailboxes files if necessary.
I have succesfully mirrored users on both servers, following a recent post on this forum.
Now I want to run a similar command to synchronize home directories.
rsync -vrae 'ssh -p2222' --delete fileserver:/home/ mailserver:/home
For some strange reason the above command seems to copy all home's files again each time, taking forever obviously, and on top of it, it doesn't delete files that don't exist anymore on the source server.
Any idea why this would happen?
KV
I had a cool footer but the webmaster told me to remove it! America is the land of freedom...