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.
 
>    Also, how does rsync handle the backup if the RAID0 directory is
> active and changing? Will it keep working until there are no
> differences? Or does it read once and copy?

It reads once, and will generally produce an error if a file has changed
between scanning and copying. Running rsync repeatedly until it returns
a 0 status may be worth considering.


-- 
Neil Bothwick

Top Oxymorons Number 10: Computer security

Attachment: signature.asc
Description: PGP signature

Reply via email to