On Wed, 2010-04-28 at 23:16 +0200, Frank Steinmetzger wrote:

> rsync -aX --delete / /dev/<backup root partition>/
> 
> -a (archive) copies permissions, ownerships and the likes
> -X stops at file system boundaries, i.e. it will only backup the actual root 
> partition, without other mounted file systems such as /proc, /dev and /home.

actually, lower case x is --one-file-system or "don't cross filesystem
boundaries".  Upper case X is --xattrs or "preserve extended attributes"

:)
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

When you don't know what to do, walk fast and look worried.


Reply via email to