Partial files in rsync update.

Posted by: fink08

Partial files in rsync update. - 15/03/2003 14:32

If I initiate an rsync using "rsync –auv --delete rsync://192.168.1.175/drive0/fids . --stats --progress" and disconnect the the source empeg in the middle of a sync. How can i make sure that the partially uploaded files get fully uploaded later?
Posted by: smu

Re: Partial files in rsync update. - 15/03/2003 17:56

rsync makes sure each file is in sync, so if you interrupt an rsync process and "start over" later, rsync will keep completed files if they are the same as on the source, remove files which where removed from the source, modify files which exist at both ends so that the sync'ed part matches the source and upload files which only exist on the source.

So in your case, if you restart rsync (with the same parameters), it will basically resume the upload of the file where it was interrupted, completing the upload of the partially uploaded file.

cu,
sven