1 |
On 16 Apr, Neil Bothwick wrote: |
2 |
> On Thu, 15 Apr 2010 14:30:04 -0700, Mark Knecht wrote: |
3 |
> |
4 |
>> I would like to back up a mounted RAID0 to a mounted RAID1. |
5 |
> |
6 |
> The RAID makes no difference, because rsync works at the filesystem level. |
7 |
> |
8 |
>> Would the following command be appropriate to backup /virdata on |
9 |
>> RAID0 to /backups on RAID1? |
10 |
>> |
11 |
>> rsync -avx /virdata/. /backups/. |
12 |
> |
13 |
> Yes, although the use of -v makes it harder to see any errors that may |
14 |
> occur. |
15 |
> |
16 |
>> It appears that maybe the -a option wouldn't copy the links? |
17 |
> |
18 |
> It does. |
19 |
|
20 |
I don't think it copies hard links, as well. |
21 |
Therefore I prefer the additional option -H |
22 |
Furthermore I add the -u option for not overriding files on the |
23 |
destination which are newer. |
24 |
|
25 |
Helmut. |
26 |
|
27 |
-- |
28 |
Helmut Jarausch |
29 |
|
30 |
Lehrstuhl fuer Numerische Mathematik |
31 |
RWTH - Aachen University |
32 |
D 52056 Aachen, Germany |