rsync backup
Jason Nicolaides
voidpointer-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Dec 8 18:27:44 UTC 2010
On 8 December 2010 09:59, William Muriithi <william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>wrote:
>
> Agree with what you said. In the above case, he would never have lost his
> data
>
> What I meant is the delete flag can leave you with a white face if you
> reverse the destination with the source folders. That would leave you
> with zero data in both folders.
>
> I know it sound very unlikely, but it did happen to me and I felt like
> the biggest moron in the world after realising what I had just done.
> Thats why I adopted the use of -n flag just to see what is taking
> place fast. Actually, in the above case, it would have removed all
> that was in the destination folder and if he had stuffed other data
> from a different source, that would have been lost as they do not
> exist in the source directory
>
> In short, a dry run does not hurt when doing it manually.
>
> William
I agree with you 100% in using -n to test what rsync is going to do before
you commit. Loosing data in that way is ... not fun. To put it mildly.
Cheers,
Jason Chris Nicolaides
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20101208/aec419c1/attachment.html>
More information about the Legacy
mailing list