BackupPC-users

Re: [BackupPC-users] Restoring Backuppc itself

2012-10-15 15:09:02
Subject: Re: [BackupPC-users] Restoring Backuppc itself
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 15 Oct 2012 14:07:00 -0500
On Mon, Oct 15, 2012 at 6:01 AM, M.Baert <m.baert AT free DOT fr> wrote:
>
> I just reinstalled ubuntu (12.04 to replace 10.10) and backuppc
> (.deb 3.2.1-2ubuntu1.1 replacing 3.2.0-3ubuntu4~maverick1).
>
> I have a .tgz of old /etc/backuppc and /var/lib/backuppc.
> The store is on an external disk, which was mounted from fstab :
>
>    UUID=d8a382ae-f0ad-49ca-907b-1e99483ef5aa /var/lib/backuppc/store
> ext4 defaults,noauto,noatime 0 2
>
> Now I need to restore the configuration, but I'm afraid of damaging my
> store/pool.
>
> The simple plan I have in mind:
>   - stop the service
>   - overwrite or merge the files from /etc/backuppc/
>   - overwrite or merge the files from /var/lib/backuppc/
>   - merge /etc/fstab and mount the disk
>   - start backuppc service and pray.
>
> Is there any specific precautions I should take ?

The only likely problems would be if the backuppc version has changed
or the packaging has changed the locations for things - and these
shouldn't have much chance of harming your existing archive.     What
I usually do for similar cases is save copies of the current copies
before the restore and diff against the restored copies to make sure I
understand the configuration setting differences.

-- 
   Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
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>