Re: [BackupPC-users] Backup backuppc
2010-08-31 15:04:58
On 8/31/2010 12:09 PM, Josh Malone wrote:
> Farmol SPA wrote:
>> Hi list.
>>
>> I would like to ask which is the simplest yet effective way to dump
>> backuppc stuff (mainly __TOPDIR__) eg to a removable hard disk that will
>> be used in a disaster recovery scenario where the plant were destroyed
>> and I need to restore data from this survivor device. Is a "rsync -aH"
>> enough?
>>
>> TIA.
>> Alessandro
>
> If your 'topdir' is its own filesystem, lvm, etc., you can use 'dump' to
> back up a snapshot of your pool. Adapting the link earlier:
>
> #!/bin/bash
>
> EXTDISK=/dev/sdc
> POOLDISK=/dev/mapper/Group0-Vol0
>
> lvcreate -l '100%free' -s -n snapshot /dev/volgroup/backuppc
> mount $EXTDISK /mnt/tmp
> dump -a0f - /dev/volgroup/backuppc | gzip >
> /mnt/tmp/pool-backup.0.gz
But time a restore before deciding whether the speed will be acceptable
or not. I think dump can write the inode tables fairly quickly, but the
restore side has to do lookups to rebuild the hard links and might take
days to complete.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
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/
|
|
|