BackupPC-users

Re: [BackupPC-users] Howto backup BackupPC running on a RAID1 with mdadm for offline-storage

2008-07-15 22:00:28
Subject: Re: [BackupPC-users] Howto backup BackupPC running on a RAID1 with mdadm for offline-storage
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: Holger Parplies <wbppc AT parplies DOT de>
Date: Wed, 16 Jul 2008 12:00:23 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Holger Parplies wrote:
> Hi,
>
> Kurt Tunkko wrote on 2008-07-16 01:05:30 +0200 [Re: [BackupPC-users] Howto 
> backup BackupPC running on a RAID1 with mdadm for offline-storage]:
>> Holger Parplies wrote:
>> While this approach is much better than the one I suggested yesterday it
>> still leads to some Questions:
>>
>> 1) Is there a way to add the 3rd drive to RAID1 as soon as it will be
>> connected to the system (External harddrive that is oonnected via usb2)?
>> Or more generally: Can I run a script when an external storage device is
>> connected via usb?
>
> Yes. Are you sure you want that Windoze-type-oh-no-feeling when you plug a USB
> stick with valuable data into the computer and it automatically fills it with
> the first few GBs of your BackupPC pool? :) Not sure if sfdisk will allow the
> partition table to exceed the device size though ...

You should be able to recognise the UUID or similar of the drive, to
ensure that it is the drive you want to deal with (or one of the
multiple drives you want to deal with).

Also, remember that you *should* stop backuppc and umount the raid1
array before you remove the 3rd drive from the array. Otherwise, the
copy you have will be in an in-consistent state, and so you  may have
some random data corruption.

Oh, and maybe throw in a "sync" or two just for fun....

Regards,
Adam

- --
Adam Goryachev
Website Managers
www.websitemanagers.com.au
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIfVY3GyoxogrTyiURAneBAJ9ZFakK97lWKCNKbzJP5gru3tRevwCfXeza
wibXA1Fwq6wANL5RfSfqSiw=
=cahE
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>