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
--
--------------------------------------------------------
Joshua Malone Systems Administrator
(jmalone AT nrao DOT edu) NRAO Charlottesville
434-296-0263 www.nrao.edu
434-249-5699 (mobile)
BOFH excuse #327:
The POP server is out of Coke
--------------------------------------------------------
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------
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/
|