1 |
On Wed, 2010-04-28 at 23:16 +0200, Frank Steinmetzger wrote: |
2 |
|
3 |
> rsync -aX --delete / /dev/<backup root partition>/ |
4 |
> |
5 |
> -a (archive) copies permissions, ownerships and the likes |
6 |
> -X stops at file system boundaries, i.e. it will only backup the actual root |
7 |
> partition, without other mounted file systems such as /proc, /dev and /home. |
8 |
|
9 |
actually, lower case x is --one-file-system or "don't cross filesystem |
10 |
boundaries". Upper case X is --xattrs or "preserve extended attributes" |
11 |
|
12 |
:) |
13 |
-- |
14 |
Iain Buchanan <iaindb at netspace dot net dot au> |
15 |
|
16 |
When you don't know what to do, walk fast and look worried. |