From: Jason K. <jk...@in...> - 2007-02-14 18:20:16
|
I see...what's the syntax of the bscan command. I'm reading the man pages now but I want to make sure I get the flag usage correct. My tape does have more than one job on it...but only a few...and it was for bacula testing anyway. I could purge the whole tape and start it over but I want to make sure that the bacula database stays updated if I do it. How would I go about deleting the entire tape and starting it over while making sure the bacula catalog stays updated? Alan Brown wrote: > On Wed, 14 Feb 2007, Jason King wrote: > >> Now my tape still shows that I have put 100G of >> data on it...but the catalog shows that no job actually ran. > > Not quite, it shows no job completed - the attributes are despooled to > tape after the job finishes. > >> Question is, can I update the catalog with the data on the tape? > > bscan will do it, but you won't be able to resume the job. > >> Can I "ERASE" that job from the tape so that the next backup job will >> take place at the beginning position of that errored out backup job so >> as not to wast 100G worth of tape? > > Only if the failed job is the only one on the tape - in which case all > you need to do is purge the entire thing and start over. > > If not, then no. > > > > > |