BackupPC-users

Re: [BackupPC-users] Restore recursive selective files

2010-04-22 09:31:14
Subject: Re: [BackupPC-users] Restore recursive selective files
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: mstowe AT chicago.us.mensa DOT org, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 22 Apr 2010 09:28:51 -0400
Michael Stowe wrote at about 06:58:55 -0500 on Thursday, April 22, 2010:
 > 
 > I think I'd be inclined to simply create a tar file for each machine, then
 > extract the necessary files from the command line.
 > 
(I hate top posting! lol)
That being said, it would be helpful to have a simple command line
script that would allow one to restore an arbitrary list of files from
one or more shares and/or hosts where the file list could include wild
cards (similar to the usage in the *nix find routine).

In fact the script should be pretty simple to write in perl using the
native perl 'find' routine (on the mangled version of the paths) and
hooking into the backuppc restore code to execute the restore.

The hardest part would be in filling out the command line options to
make such a script maximally flexible and goof-proof.

I don't really have the time now to do it, but again it shouldn't be
hard...


 > > Hi All,
 > > I've got a tricky one, I want to restore all index.htm files for a server
 > > backup folder, not interested in all the other files, etc. Now the problem
 > > is there are literally thousands of folders that are contained here, so
 > > using the web CGI isn't an option to manually select.
 > > Is there a simple way I can do this, ideally restoring back direct to the
 > > original host.
 > >
 > > Hope that makes sense, I suspect it can be done using some scripting on
 > > the backuppc server itself, please help!
 > >
 > > Regards,
 > >
 > > Andy Brown
 > 
 > 

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