Rsync deletion issue on failure
Adam Gordon
adam.n.gordon at gmail.com
Wed Nov 25 23:11:57 MST 2009
Wow, it is in there. Sorry. I kept looking for "delete." It never
occurred to look for the word "partial." Thanks a bunch.
--adam
On Wed, Nov 25, 2009 at 23:06, Matt McCutchen <matt at mattmccutchen.net>wrote:
> On Wed, 2009-11-25 at 23:03 -0700, Adam Gordon wrote:
> > I didn't see this in the man page or after a cursory Google search.
> >
> > I'm rsync-ing a file from computer A to computer B and the file does
> > not exist yet on computer B. My problem is that on a shoddy Internet
> > connection, if rsync fails due to a connection error, the dot file it
> > creates on computer B is deleted and I have to start the rsync all
> > over from the beginning.
> >
> > Is there a way to tell rsync to NOT delete this dot file and pick up
> > where it left off after failing? I was in the middle of a 2-hour/2GB
> > xfer and the connection died w/ 10MB left.
>
> You want --partial or --partial-dir.
>
> --
> Matt
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20091125/d8778644/attachment.html>
More information about the rsync
mailing list