BackupPC-users

Re: [BackupPC-users] BackupPC_tarCreate usage

2008-09-03 17:51:30
Subject: Re: [BackupPC-users] BackupPC_tarCreate usage
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: Gabriel Landais <gabriel.landais AT gmail DOT com>
Date: Wed, 03 Sep 2008 16:52:25 -0500
Gabriel Landais wrote:
> Hi,
>  My main hard drive failed, I have now a hard drive with all backuppc
> backups, no confs... I restored my home server with 2x500GB in RAID-1,
> hope it will help in future. As I'm trying to restore my data, I don't
> know what would be the best practice. So I've plugged the backup drive
> in my desktop PC and installed backuppc. Then I've created a symbolic
> link from my /var/lib/backuppc/pc on the pc folder where I can find my
> backups. I've then tried to restore thanks to BackupPC_tarCreate,
> without success...
> 
> Here a tries :
> 
> backuppc@xtr:/home/glandais$
> /usr/share/backuppc/bin/BackupPC_tarCreate -t -n -1 -h localhost -s
> '/etc' /* > /mnt/server/restore/restore.etc.tar

The shell is going to expand that /* to whatever it sees in the current 
running system, which probably isn't what you intended.  Was the backup 
only done of /etc or are you trying to only extract /etc?

> I just want to extract backups into a file structure, no way?

Yes, you just need the right command line.  I'd guess that you want a 
'.' instead of that /*.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>