Discussion:
[Bacula-users] Delete canceled Job
Oliver Werner
2017-07-18 10:22:43 UTC
Permalink
Hi,

I’ve canceled one job because it was duplicated. 1 TB of this Job was written to LTO6 Tape.
My question is now, how can i delete this 1 TB Data? Its possible?

Thanks for the tips :)
OLIVER WERNER



Kontrast Communication Services GmbH
Plange MÃŒhle 5, 40221 DÃŒsseldorf, Germany

Fon +49-211-91505-6011
Fax +49-211-91505-530
www.kontrast.de <http://www.kontrast.de/>

Die gesetzlichen Pflichtangaben finden Sie unter
www.kontrast.de/kontakt/impressum <https://www.kontrast.de/kontakt/impressum>




Wir freuen uns ÃŒber die Nominierung fÃŒr den German Design Award!
Warum und wofÃŒr erfahren Sie hier. <https://www.kontrast.de/cases/keuco-meisterwerk-von-kontrast-fuer-den-german-design-award-nominiert/>
Wanderlei Huttel
2017-07-18 11:01:33 UTC
Permalink
Hello Oliver

It's not possible exclude only 1 job from the tape, you need to exclude all
jobs from the tape, or maybe do something not usual but it works.
Run a migrate Job and move all important jobs from the tape to another Tape
if your LTO6 has more than 1 drive, or use some pool in disk.


Best Regards

*Wanderlei HÃŒttel*
http://www.huttel.com.br
Post by Oliver Werner
Hi,
I’ve canceled one job because it was duplicated. 1 TB of this Job was
written to LTO6 Tape.
My question is now, how can i delete this 1 TB Data? Its possible?
Thanks for the tips :)
OLIVER WERNER
[image: Kontrast]
Kontrast Communication Services GmbH
Plange MÃŒhle 5, 40221 DÃŒsseldorf, Germany
Fon +49-211-91505-6011 <+49%20211%20915056011>
Fax +49-211-91505-530 <+49%20211%2091505530>
www.kontrast.de
Die gesetzlichen Pflichtangaben finden Sie unter
www.kontrast.de/kontakt/impressum
[image: German_Design_Award]
Wir freuen uns ÃŒber die Nominierung fÃŒr den German Design Award!
Warum und wofÃŒr erfahren Sie hier.
<https://www.kontrast.de/cases/keuco-meisterwerk-von-kontrast-fuer-den-german-design-award-nominiert/>
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
https://lists.sourceforge.net/lists/listinfo/bacula-users
Josip Deanovic
2017-07-18 11:09:00 UTC
Permalink
Hi,
I’ve canceled one job because it was duplicated. 1 TB of this Job was
written to LTO6 Tape. My question is now, how can i delete this 1 TB
Data? Its possible?
Thanks for the tips :)
OLIVER WERNER
Hi,

If you are absolutely sure that this is the only job written to that
specific tape you could purge that volume and recycle it and then
update its status to Append. All of this could be done from the
bconsole tool.

If there are other jobs on that tape you could copy them to some other
volume before taking the steps I have mentioned above.

Otherwise, AFAIK it is not possible to remove the bytes that belong to
the failed job from the volume using normal bacula procedures.

There is also an option of manual database update but it comes with the
risk of human error and it is generally not recommended.
--
Josip Deanovic
Continue reading on narkive:
Loading...