BackupPC-users

Re: [BackupPC-users] Restore from orphaned topdir

2011-01-28 12:51:59
Subject: Re: [BackupPC-users] Restore from orphaned topdir
From: Erik Shreve <lists AT erikshreve DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 28 Jan 2011 12:32:51 -0500
Just getting the backuppc config files is all I would be interested in,
which sounds doable.
After that I'd use backuppc to restore everything else.

Thanks all!

Erik

On 01/28/2011 12:21 PM, Jeffrey J. Kosowsky wrote:
> Bowie Bailey wrote at about 11:49:21 -0500 on Thursday, January 27, 2011:
>  > On 1/27/2011 8:05 AM, Erik Shreve wrote:
>  > > I've been reading the archives and documentation but haven't been able
>  > > to find a clear answer...
>  > >
>  > > I have backuppc backing up the machine it runs on to a NAS. Thus
>  > > everything under __TOPDIR__ is on the NAS. Meanwhile the backuppc
>  > > binaries and configuration are on the server.
>  > >
>  > > If I were to loose the server, how hard would it be to restore data from
>  > > the NAS? Obviously I'd have to rebuild a server and install BackupPC
>  > > again. If I had BackupPC backing up its config directory, would it be
>  > > easy to extract those files from the cpool?
>  > 
>  > Getting the files out of the pc directory in your data store is easy
>  > since it has the same structure as the original directory (aside from
>  > the obvious addition of the 'f' to the filenames).  Just use the
>  > BackupPC_zcat program to uncompress the config files.
>
> Not sure if this is what you are implying... but zcat'ing the
> f-mangled pc dir files directly is *not* generally a good idea unless
> you just want the straight *contents* of a file or two and know what
> you are doing.
> Because:
>       - The fmangling gets in the way (and it's not just a prepended 'f'
>         but also non-ascii alphanumeric chars get encoded)
>       - You lose the file ownership, perms, timestamps, etc
>       - It doesn't deal properly with links (soft or hard) and special
>         files.
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
> February 28th, so secure your free ArcSight Logger TODAY! 
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> 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/

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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/