small doubt about rsync
Tapas Mishra
mightydreams at gmail.com
Tue Feb 8 17:36:09 UTC 2011
On Tue, Feb 8, 2011 at 9:16 PM, Smoot Carl-Mitchell <smoot at tic.com> wrote:
> On Tue, 2011-02-08 at 15:12 +0530, Tapas Mishra wrote:
>
>> If the server A on which I have to restore backup from a USB disk
>> I do as follows
>>
>> rsync -avz /usb/disk -e ssh root at IP:/
>>
>> will it over write all the files on server A with the ones on my USB
>> (which is what I want also)
>> or I need to do some thing else.
>
> rsync only overwrites existing files on the target found on the source
> or adds new files from the source unless you use the --delete flag. In
> that case it deletes files on the target not found on the source.
>
> --
Thanks for clarifying that it was really useful.
--
More information about the ubuntu-users
mailing list