Re: [Bacula-users] Restoring files from a failed full job?
Hello Uwe, The answer to your question depends a bit on what happened when the job failed. If you were spooling the file attributes, it is likely nothing was stored in the catalog. If there are some file entries for the failed job that are stored in the catalog, then yes, of course, you can recover most if not all of those files. During the restore command, for an automatic restore (option 5), Bacula will never select jobs that failed. However, if you select another option (e.g. 7) that allows you to specify individual jobids, you can specify the jobid of the failed job, select the files you want to restore and then restore them. Most likely all files that are in the catalog can be restored, but it is possible that the last one may have problems. Best regard, Kern On 13-10-09 11:01 AM, Uwe Schuerkamp wrote: Hi folks, one of our longer-running jobs broke yesterday after saving around 6TB of data to lto4 tapes, the last 200G or so are probably missing. Is it possible to restore files from such a failed backup job? All the best, Uwe -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring files from a failed full job?
On Thu, Oct 10, 2013 at 09:57:46AM +0200, Kern Sibbald wrote: Hello Uwe, The answer to your question depends a bit on what happened when the job failed. If you were spooling the file attributes, it is likely nothing was stored in the catalog. If there are some file entries for the failed job that are stored in the catalog, then yes, of course, you can recover most if not all of those files. During the restore command, for an automatic restore (option 5), Bacula will never select jobs that failed. However, if you select another option (e.g. 7) that allows you to specify individual jobids, you can specify the jobid of the failed job, select the files you want to restore and then restore them. Most likely all files that are in the catalog can be restored, but it is possible that the last one may have problems. Best regard, Kern Thanks Kern, we don't use attribute spooling so what you describe is exactly what I had hoped for ;-) All the best, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann SE Co. KGaA -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring files from a failed full job?
On 09/10/13 10:01, Uwe Schuerkamp wrote: Hi folks, one of our longer-running jobs broke yesterday after saving around 6TB of data to lto4 tapes, the last 200G or so are probably missing. 6Tb on LTO4 Are you crazy? Break the job into smaller units! As far as bacula's concerned the job is a dead loss. You might be able to place the saved files into the database using brestore and friends, etc but it won't be counted as a full backup. You're better off purging the tapes and starting over with sensibly sized backup sets. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring files from a failed full job?
On Wed, Oct 09, 2013 at 10:41:59AM +0100, Alan Brown wrote: On 09/10/13 10:01, Uwe Schuerkamp wrote: Hi folks, one of our longer-running jobs broke yesterday after saving around 6TB of data to lto4 tapes, the last 200G or so are probably missing. 6Tb on LTO4 Are you crazy? Break the job into smaller units! Thanks for your kind words. ;-P There's no budget from the customer for that at the moment, but knowing that bscan / bextract / brestore might come in helpful in this situation is comfort enough ATM. You're better off purging the tapes and starting over with sensibly sized backup sets. Due to jobs running in parallel this would purge all other jobs on those volumes, so that's not exactly an option. I'll put forward the idea of breaking up the jobs further. All the best, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann SE Co. KGaA -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users