Re: [Bacula-users] Searching through backed-up files
Hello, 2011/12/2 Marcello Romani mrom...@ottotecnica.com Hallo, I've got a (hopefully not so) unusual problem. I need look for a text string inside some text files that I've backed up with bacula. The first, naive solution that comes to mind is of course to extract portion of the backup archive (e.g. going back in time), one fd-client at-a-time, do the search and then delete the restored files if the string is not found. But this process would be highly time-consuming and inefficient FWIKT. If you backup to disk volumes that you can search trough volume files. When you find a location (address) inside a volume then you can compare it with a jobmedia table in database. As a result you will get a jobid. In this case I assume that you don't perform any compression or encryption. best regards -- Radosław Korzeniewski rados...@korzeniewski.net -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Searching through backed-up files
Il 07/12/2011 13:29, Radosław Korzeniewski ha scritto: Hello, 2011/12/2 Marcello Romani mrom...@ottotecnica.com mailto:mrom...@ottotecnica.com Hallo, I've got a (hopefully not so) unusual problem. I need look for a text string inside some text files that I've backed up with bacula. The first, naive solution that comes to mind is of course to extract portion of the backup archive (e.g. going back in time), one fd-client at-a-time, do the search and then delete the restored files if the string is not found. But this process would be highly time-consuming and inefficient FWIKT. If you backup to disk volumes that you can search trough volume files. When you find a location (address) inside a volume then you can compare it with a jobmedia table in database. As a result you will get a jobid. In this case I assume that you don't perform any compression or encryption. best regards -- Radosław Korzeniewski rados...@korzeniewski.net mailto:rados...@korzeniewski.net Thank you for the suggestion. Unfortunately I compress files on disk. I could try this approach on tape, though. -- Marcello Romani -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Searching through backed-up files
Hallo, I've got a (hopefully not so) unusual problem. I need look for a text string inside some text files that I've backed up with bacula. The first, naive solution that comes to mind is of course to extract portion of the backup archive (e.g. going back in time), one fd-client at-a-time, do the search and then delete the restored files if the string is not found. But this process would be highly time-consuming and inefficient FWIKT. Searching around the 'net I found a potentially very useful object, named BaculaFS. Unfortunately it's requirements include pretty recent versions of postgresql (the db I currently use) and other libraries. Because of this I haven't been able to install it on my director host. If possible, I'd like to avoid upgrading this host just for the sake of installing baculafs... Does anybody have a hint about how to solve this ? Thank you in advance to anyone who'll answer. -- Marcello Romani -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users