[lug] Moving / partition to a new disk

Nate Duehr nate at natetech.com
Fri Dec 10 15:55:04 MST 2004


D. Stimits wrote:

>
> Using cpio means proper copy of everything, even device special files. 
> Never use cp for a backup. Imagine the chaos of trying to cp -a 
> /dev/*, and reading and copying /dev/random :P
>
> Like this:
> find /SomeSource -print -xdev | cpio -pdm SomeDestination
>
> Doing this keeps permissions, special properties like sym links, and 
> device special files or other unusual setups (given to me by someone 
> on BLUG a long time ago I don't remember who told me about that).


Having seen a boatload of articles on this recently (but never having 
used it or played with it...)...

What kind of backup will preserve SELinux/Kernel ACL's?  Anything?

Nate



More information about the LUG mailing list