Re: [Bacula-users] Loading file listings from old tapes
I have figured out at least part of my problem: a flawed understanding of what Bacula is doing. I *had* thought, that if I did a bscan, Bacula would find a dump of the database and restore the database records for the time period of the backup. But it does not; it only restores records for those jobs it finds on the tape. In order to restore other records I will need to bscan the appropriate media for the jobs that I'm missing. That's what I'm doing now. I've already scanned a tape and now I'm able to list files for the job in question. Thanks for the replies. *- Mike Schwager* * Linux Network Engineer, Mocho Trading LLC* * 312-646-4783 Phone312-637-0011 Cell312-957-9804 Fax* On Tue, Jun 23, 2015 at 1:33 PM, Michael Schwager < mschwa...@mochotrading.com> wrote: > > > On Tue, Jun 23, 2015 at 12:20 PM, Heitor Faria > wrote: > >> I have changed the retention periods to 12 months, and I have done some >> bscan's of some old tapes. I thought that would repopulate my database with >> the file names, but it has not. echo "list jobs jobid=190" | bconsole >> returns "No results to list." on a backup with 49,731 JobFiles. >> >> >> >> *- Mike Schwager* >> Any suggestions about how to perform this would be appreciated. Thanks. >> >> > * Linux Network Engineer, Mocho Trading LLC* > * 312-646-4783 Phone312-637-0011 Cell312-957-9804 Fax* > > -- This message is for the named person(s) use only. It may contain confidential proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Mocho Trading LLC reserves the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Loading file listings from old tapes
On Tue, Jun 23, 2015 at 12:20 PM, Heitor Faria wrote: > I have changed the retention periods to 12 months, and I have done some > bscan's of some old tapes. I thought that would repopulate my database with > the file names, but it has not. echo "list jobs jobid=190" | bconsole > returns "No results to list." on a backup with 49,731 JobFiles. > > Any suggestions about how to perform this would be appreciated. Thanks. > > Hello Michael: bscan when restoring jobs perform that to another different > and new JobID. Please check the logs. > I have checked the logs and don't see anything new. This is what I see when I list jobs in bconsole. These are my backups from this morning: | 943 | BackupFScluster | 2015-06-23 06:05:02 | B | I | 958 | 114,308,858,302 | T | | 944 | BackupCatalog| 2015-06-23 07:03:40 | B | F |1 | 973,597,054 | T | +-+--+--- --++---+--+-++ > We are backing up a number of critical log files that are necessary to > recover quickly, accurately, and easily. I was tasked with making restores > so easy "even a monkey can do it". So I'm trying to create a document for > my coworkers: "The Chimp's Guide to Restores". > > bscan and bextract are disaster recovery tools. I would not use them as > regular restore procedures. > I agree. I am trying to recreate my database, not use bscan or bextract. If there is another way to recreate my database, could you let me know what that is? Thanks. *- Mike Schwager* * Linux Network Engineer, Mocho Trading LLC* * 312-646-4783 Phone312-637-0011 Cell312-957-9804 Fax* -- This message is for the named person(s) use only. It may contain confidential proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Mocho Trading LLC reserves the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Loading file listings from old tapes
> Greetings Baculans, > We are running Bacula on Centos 6.5, which means Bacula 5.0.0. Over the past 9 > months I had been backing up files with File and Job Retention periods in the > Client resource of bacula-dir.conf of 60 days. So our old file listings have > been pruned, but I need them back. How do I do it? > I have changed the retention periods to 12 months, and I have done some > bscan's > of some old tapes. I thought that would repopulate my database with the file > names, but it has not. echo "list jobs jobid=190" | bconsole returns "No > results to list." on a backup with 49,731 JobFiles. > Any suggestions about how to perform this would be appreciated. Thanks. Hello Michael: bscan when restoring jobs perform that to another different and new JobID. Please check the logs. > We are backing up a number of critical log files that are necessary to recover > quickly, accurately, and easily. I was tasked with making restores so easy > "even a monkey can do it". So I'm trying to create a document for my > coworkers: > "The Chimp's Guide to Restores". bscan and bextract are disaster recovery tools. I would not use them as regular restore procedures. > My thinking is to create a process so that a user could >* Give a file's basename, or substring that is part of a pathname, or a > regular > expression that matches a file's pathname string. > * Give a date range from within which we want to restore the file. > * Give where to put the file. > and then they would be presented with a tape to load for the restore, and- > voila'! File restored. My idea is to save all job file listings into files by > job id, then I can use UNIX tools to scour them as required. Regards, == Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified Administrator II Do you need Bacula training? https://www.udemy.com/bacula-backup-software/?couponCode=bacula-list +55 61 8268-4220 Site: http://bacula.us FB: heitor.faria === > - Mike Schwager > Linux Network Engineer, Mocho Trading LLC > 312-646-4783 Phone 312-637-0011 Cell 312-957-9804 Fax > This message is for the named person(s) use only. It may contain confidential > proprietary or legally privileged information. No confidentiality or privilege > is waived or lost by any mistransmission. If you receive this message in > error, > please immediately delete it and all copies of it from your system, destroy > any > hard copies of it and notify the sender. You must not, directly or indirectly > use, disclose, distribute, print, or copy any part of this message if you are > not the intended recipient. Mocho Trading LLC reserves the right to monitor > all > e-mail communications through its networks. Any views expressed in this > message > are those of the individual sender, except where the message states otherwise > and the sender is authorized to state them to be the views of any such entity. > -- > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users-- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Loading file listings from old tapes
Greetings Baculans, We are running Bacula on Centos 6.5, which means Bacula 5.0.0. Over the past 9 months I had been backing up files with File and Job Retention periods in the Client resource of bacula-dir.conf of 60 days. So our old file listings have been pruned, but I need them back. How do I do it? I have changed the retention periods to 12 months, and I have done some bscan's of some old tapes. I thought that would repopulate my database with the file names, but it has not. echo "list jobs jobid=190" | bconsole returns "No results to list." on a backup with 49,731 JobFiles. Any suggestions about how to perform this would be appreciated. Thanks. We are backing up a number of critical log files that are necessary to recover quickly, accurately, and easily. I was tasked with making restores so easy "even a monkey can do it". So I'm trying to create a document for my coworkers: "The Chimp's Guide to Restores". My thinking is to create a process so that a user could - Give a file's basename, or substring that is part of a pathname, or a regular expression that matches a file's pathname string. - Give a date range from within which we want to restore the file. - Give where to put the file. and then they would be presented with a tape to load for the restore, and- voila'! File restored. My idea is to save all job file listings into files by job id, then I can use UNIX tools to scour them as required. *- Mike Schwager* * Linux Network Engineer, Mocho Trading LLC* * 312-646-4783 Phone312-637-0011 Cell312-957-9804 Fax* -- This message is for the named person(s) use only. It may contain confidential proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Mocho Trading LLC reserves the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users