On 16 Apr, Neil Bothwick wrote:
> On Thu, 15 Apr 2010 14:30:04 -0700, Mark Knecht wrote:
> 
>>    I would like to back up a mounted RAID0 to a mounted RAID1.
> 
> The RAID makes no difference, because rsync works at the filesystem level.
> 
>>    Would the following command be appropriate to backup /virdata on
>> RAID0 to /backups on RAID1?
>> 
>> rsync -avx /virdata/. /backups/.
> 
> Yes, although the use of -v makes it harder to see any errors that may
> occur.
>  
>>    It appears that maybe the -a option wouldn't copy the links?
> 
> It does.

I don't think it copies hard links, as well.
Therefore I prefer the additional option -H 
Furthermore I add the -u option for not overriding files on the
destination which are newer.

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

Reply via email to