BackupPC-users

Re: [BackupPC-users] Moving backuppc to a new machine

2012-04-23 08:04:15
Subject: Re: [BackupPC-users] Moving backuppc to a new machine
From: Tim Fletcher <tim AT night-shade.org DOT uk>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 23 Apr 2012 12:20:19 +0100
On Fri, 2012-04-20 at 12:41 -0500, Kameleon wrote:
> Currently our backuppc server is a Xen pv domU running Ubuntu 10.04.
> It has served us well over the past two years. However it is time to
> move it out of the virtual environment and back onto physical
> hardware. This is only so that it can be located on the far edge of
> our campus as far away from the physical servers it backs up as
> possible while still keeping it on the fiber network. So with that we
> are looking to install a fresh OS on the new hardware. We could stay
> with Ubuntu and just load 12.04. Most of our other servers are Centos
> or Fedora. Is there one distribution that is better than the other for
> backuppc? I will be moving the /var/lib/backuppc pool (it is on it's
> own lv) to the new machine. Should I expect any problems with this?

I have done something similar and migrated from a Ubuntu 10.04 machine
to a Fedora 15 (now 16) machine with a block level copy over ssh.

The steps where thus:

1. Install fedora or Distro of choice
2. Create Backuppc LV that is the size you want and must be bigger than
the current install
3. From the new machine run: ssh -l root -c arcfour oldmachine dd
if=/dev/backuppc/volume bs=1M | dd of=/dev/backuppc/newvolume bs=1M
4. Wait
5. Resize the filesystem to the correct size with:
resize2fs /dev/backuppc/newvolume
6. setup new backuppc install, iirc you needed to move a few config
files about and check pool mount points

-- 
Tim Fletcher <tim AT night-shade.org DOT uk>


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
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/