BackupPC-users

Re: [BackupPC-users] Migrating backup machines

2010-04-21 13:10:10
Subject: Re: [BackupPC-users] Migrating backup machines
From: Josh Malone <jmalone AT nrao DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 21 Apr 2010 13:08:29 -0400
On Wed, 21 Apr 2010 18:33:17 +0200, Frédéric Massot
<frederic AT juliana-multimedia DOT com> wrote:
> Josh Malone a écrit :
>> When I did this last time I just used dump (on Linux).
>> 
>> mke2fs -j /dev/newdisk
>> mount /dev/newdisk /mnt/newdisk
>> ummount /dev/olddisk
>> cd /mnt/newdisk
>> dumpe2fs -a0f - /dev/olddisk | restore -rf -
> 
> I think you intended to write "dump -a0f" command from the dump Debian
> package.  :o)

On RHEL5 the main binary is dump, and dumpe2fs seems to be a wrapper
bin... not sure. Anyway, 'dump -a0f -' should work fine.

And yes... this will take a long time but will handle hardlinks properly.

-Josh

-- 
--------------------------------------------------------
       Joshua Malone       Systems Administrator
     (jmalone AT nrao DOT edu)    NRAO Charlottesville
        434-296-0263         www.cv.nrao.edu
        434-249-5699 (mobile)
BOFH excuse #360:

Your parity check is overdrawn and you're out of cache.
--------------------------------------------------------

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/