Re: [BackupPC-users] Search for File
2011-09-28 10:53:39
Hi Tim, That's basically what I did, but I have a couple of BackupPC users that have no clue about command line stuff, so I was hoping for a BackupPC web based solution. Gerald
From: "Timothy J Massey" <tmassey AT obscorp DOT com> To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net> Sent: Wednesday, September 28, 2011 9:30:18 AM Subject: Re: [BackupPC-users] Search for File
Gerald Brandt <gbr AT majentis DOT com> wrote on 09/28/2011
10:15:12 AM:
> I need to search for a specific file on a host, via backuppc. Is
> there a way to search a host backup, so I don't have to manually go
> through all directories via the web interface?
The easiest, most direct way of doing that would be:
cd /path/to/host/pc/directory
find . | grep "f<filename>"
I'm sure someone with more shell-fu will give you
a much better command line (and I look forward to learning something!).
I'm sure there's a way to do it simply with the find command alone,
but I've had limited success trying to limit the find command to find specific
files. For me, it's easier to use grep as above. My way will
work, if a bit slowly: there's lots of files in there...
Don't forget the leading f in the filename: BackupPC
puts an f in front of every filename in the directory structure.
Tim Massey
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ 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/
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________
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/
|
|
|