[CentOS] Best way to duplicate a live Centos 5 server?

John R Pierce pierce at hogranch.com
Tue Jul 10 06:44:20 UTC 2012


On 07/09/12 11:39 PM, Emmanuel Noobadmin wrote:
> On 7/10/12, aurfalien <aurfalien at gmail.com> wrote:
>> I do dump/restores fir this sort of thing.
> Thanks for this, I didn't know there was such a command until now!
> But it looks like it should work for me since bulk of the data are
> usually in /home which is a separate fs/mount usually. I can always
> resize the fs after transfer so I'll give this a try the next time I
> need to do a dup/migrate.
>


dump should not be used on mounted file systems, except / in single user.

restore can restore to any size file system of the same type (ext3, 
ext4) thats large enough to hold the files dumped.


-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast




More information about the CentOS mailing list