BackupPC-users

Re: [BackupPC-users] Best pool cloning technique

2009-11-23 16:23:21
Subject: Re: [BackupPC-users] Best pool cloning technique
From: Bowie Bailey <Bowie_Bailey AT BUC DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 23 Nov 2009 16:20:14 -0500
Les Mikesell wrote:
> Bowie Bailey wrote:
>   
>> My filesystem is raid 1 (via md) with 3 disks.  Two of the disks are
>> internal and one is in an sata hot-swap enclosure.  Whenever I want to
>> take a backup offsite, I shut down the machine, pull the third drive,
>> replace it with a new one, and start it back up.  Then I just need to
>> tell md to rebuild onto the new drive and then take the old one
>> offsite.  I always have at least two active drives in the raid, so I
>> don't have to worry about a disk failure during the rebuild.
>>     
>
> You don't even have to shut down as long as your sata controller 
> recognizes hot swaps.  Just stop backuppc, unmount the partition, and 
> use mdadm to fail and remove the drive in the raid.  Then you can 
> remount and restart backuppc.  I don't bring the old offsite copy back 
> until the current one has been taken offsite, and it can be added to the 
> raid at any time, using the mdadm --add command.  The re-sync does make 
> the machine very busy for a  few hours so you'd want to do it at a time 
> when backups aren't running.
>   

I do the shutdown for two reasons:

1) My system partition lives on the raid as well as the data, so I have
to shut down to keep everything consistent.
2) My sata controller doesn't recognize hot swaps as far as I have been
able to determine.

-- 
Bowie

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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/