BackupPC-users

Re: [BackupPC-users] Backup backuppc

2010-08-31 13:26:18
Subject: Re: [BackupPC-users] Backup backuppc
From: Josh Malone <jmalone AT nrao DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 31 Aug 2010 13:09:15 -0400
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
--------------------------------------------------------

Attachment: 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/