BackupPC-users

Re: [BackupPC-users] backup restore via command line

2009-07-09 17:07:58
Subject: Re: [BackupPC-users] backup restore via command line
From: Les Mikesell <les AT futuresource DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 09 Jul 2009 15:14:35 -0500
shion wrote:
> Hello,
> 
> i want to restore a backup via command line.
> 
> I have already tried to use the BackupPC_restore command but I don't know 
> what I should do with the third parameter (<reqFileName>).
> I don't have a list of all files, which should be restored. Is it possible to 
> generate a file list of the whole backup, so that I can restore the backup 
> with this list?
> 
> My second try was, to create an archive with BackupPC_tarCreate. That worked, 
> but if I extract the files (tar xvfp backup.tar), there are the file 
> permissions restored but the uid and gid aren't.
> So that's a bad solution...

Tar should try to map the owner/group names to matches on the system 
where you restore.  If that's not what you want, you need to specify 
--numeric-owner (gnutar, at least) to retain the numeric uid/gid.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com





------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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>