BackupPC-users

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

2009-07-09 19:13:55
Subject: Re: [BackupPC-users] backup restore via command line
From: Pieter Wuille <sipa AT users.sourceforge DOT net>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 10 Jul 2009 01:08:48 +0200
On Thu, Jul 09, 2009 at 10:52:02AM -0400, 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...
> 
> Does someone know a solution for my problem?
> If you have an idea, write it down.
> Maybe it helps me. : )

You can try my backuppc fuse filesystem, which is a perl script that allows you
to mount the backups on your filesystem and do whatever you like with it. 
Eg. use cp to restore files.

  https://svn.ulyssis.org/repos/sipa/backuppc-fuse/backuppcfs.pl

kind regards,

-- 
Pieter

------------------------------------------------------------------------------
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>