[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding a new HDD - how do I move /var/lib/mysql ?



On Sun, Jan 14, 2007 at 11:34:02AM +0600, Abu Zaher wrote:
>    My question is slightly related to this post, so I'm posting it here.
>    I'm currently running my Sid on a 40GB hdd which is running out of
>    life, In a few days I'll buy a new 80GB. Now what is the best way 2
>    dump my whole / to my hdd so that I can boot and do all my stuff from
>    that hdd?

- Install drives

- boot from a livecd

- create new filesystem as necessary

- mount both

- copy from one to the other using a tool that can preserve device, special and sparse files e,g, tar or rsync.

- reinstall grub if necessary

- reboot

-- 
http://strugglers.net/wiki/Xen_hosting -- A Xen VPS hosting hobby
Encrypted mail welcome - keyid 0x604DE5DB

Attachment: signature.asc
Description: Digital signature


Reply to: