The easiest way to migrate to another (bigger) hard drive?

Chris Kloiber ckloiber at ckloiber.com
Fri Apr 30 07:09:22 UTC 2004


On Fri, 2004-04-30 at 15:05, WipeOut wrote:
> Rick Stevens wrote:
> 
> >
> > Or (on the existing system):
> >
> >     # cd /
> >     # tar cvpP -x /dev -x /proc -f /dev/st0 *
> >
> > And on the new system, install the the system and
> >
> >     # tar xvpPkf /dev/st0
> >
> > It's clunky, but it works--assuming the new system is already bootable.
> >  
> >
> > Yup.  Sure is.
> 
> 
> Hi Rick,
> 
> This may actually work..
> 
> Just one issue unless I am missing something..
> 
> In the restore you used a "k" option to keep existing files and not 
> overwrite them.. Does this mean that for example all the existing files 
> in /etc would not be restored? which would mean all user accounts and 
> custom settings would not be available on the new drive.. Also all logs 
> /var/log/* would not be restored either..
> 
> I guess they would have to be restored manually.. :(
> 
> Later..

I wrote a script to back up a system's user accounts (with passwords)
and mail spools. It does not attempt to back up other settings however.
You can find it at ftp://people.redhat.com/migrate_users.sh I made it in
such a way that you must read the comments inside it before it will
work. (HINT).

-- 
Chris Kloiber






More information about the fedora-list mailing list