Re: [bareos-users] Recycling volumes of cancelled jobs

2015-02-03 Thread Philipp Storz
Am 03.02.2015 um 15:16 schrieb Christoph Haas:
 Am 03.02.2015 um 14:45 schrieb Philipp Storz:
 Am 02.02.2015 um 14:45 schrieb Christoph Haas:
 Dear list,

 I've been using Bacula for a while a few years ago so I have some
 experience with the system. But there's one issue I never managed to
 solve properly. So I'd be glad if you have a hint for me. How do I
 recycle volumes that belong to a job that has been cancelled?
 use

 purge volume=volname
 What if the volume has been used for other jobs? And am I supposed to
 get the list of volumes manually and do that for 100 volumes manually?
 Can't believe that.
 
 I'm rather looking for a way to tell Bareos to recycle volumes that do
 not belong to any valid job any more.

You do not have to do that, bareos does this automatically.
That is how the retention logic works.

You might be looking for

delete JobId=job-id

to remove your job from the database.



-- 
Mit freundlichen Grüßen

 Philipp Storz philipp.st...@bareos.com
 Bareos GmbH  Co. KG   Phone: Phone: +49221630693-92
 http://www.bareos.com  Fax: +49221630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Geschäftsführer: Stephan Dühr, M. Außendorf,
 J. Steffens, P. Storz, M. v. Wieringen

-- 
You received this message because you are subscribed to the Google Groups 
bareos-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [bareos-users] Recycling volumes of cancelled jobs

2015-02-03 Thread Hunt, Phillip
I've seen this.  Deleted jobs do not completely 'delete'
They still show up in 'stat dir' as terminated/cancelled jobs.  If I delete, I 
would expect it to really delete.

But saying that, it wouldn't surprise me the job's volumes, if completely 
containing data for the deleted jobs, do not get marked as reusable.

I see this:
Say a tape is used by jobs 4,7,13
Delete job 7
Volume shows used by 4,7,13 anyway, should just be 4,13
delete job 4, 13
Tape should be marked reusable, but list jobs on volume would still show 4,7,13
Also 'stat dir' still shows these jobs






-Original Message-
From: bareos-users@googlegroups.com [mailto:bareos-users@googlegroups.com] On 
Behalf Of Christoph Haas
Sent: Tuesday, February 03, 2015 12:05 PM
To: bareos-users@googlegroups.com
Subject: Re: [bareos-users] Recycling volumes of cancelled jobs

Am 03.02.2015 um 16:01 schrieb Philipp Storz:

 I'm rather looking for a way to tell Bareos to recycle volumes that
 do not belong to any valid job any more.
 You do not have to do that, bareos does this automatically.
 That is how the retention logic works.

 You might be looking for

 delete JobId=job-id

 to remove your job from the database.
Thanks. I believe I tried that. The job was removed. But although one full 
backup was 600 GB I had more than 1 TB of media/volumes on my disk.
And the media was marked Full. Doesn't it appear differently once it's 
recycled? Or would Bareos in fact consider these volumes writeable again?

…Christoph


--
You received this message because you are subscribed to the Google Groups 
bareos-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

 This message (including any attachments) may contain confidential, 
proprietary, privileged and/or private information. The information is intended 
to be for the use of the individual or entity designated above. If you are not 
the intended recipient of this message, please notify the sender immediately, 
and delete the message and any attachments. Any disclosure, reproduction, 
distribution or other use of this message or any attachments by an individual 
or entity other than the intended recipient is prohibited.

-- 
You received this message because you are subscribed to the Google Groups 
bareos-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [bareos-users] Recycling volumes of cancelled jobs

2015-02-03 Thread Christoph Haas
Am 03.02.2015 um 16:01 schrieb Philipp Storz:
 Am 03.02.2015 um 15:16 schrieb Christoph Haas:
 Am 03.02.2015 um 14:45 schrieb Philipp Storz:
 Am 02.02.2015 um 14:45 schrieb Christoph Haas:
 Dear list,

 I've been using Bacula for a while a few years ago so I have some
 experience with the system. But there's one issue I never managed to
 solve properly. So I'd be glad if you have a hint for me. How do I
 recycle volumes that belong to a job that has been cancelled?
 use

 purge volume=volname
 What if the volume has been used for other jobs? And am I supposed to
 get the list of volumes manually and do that for 100 volumes manually?
 Can't believe that.

 I'm rather looking for a way to tell Bareos to recycle volumes that do
 not belong to any valid job any more.
 You do not have to do that, bareos does this automatically.
 That is how the retention logic works.

 You might be looking for

 delete JobId=job-id

 to remove your job from the database.
Thanks. I believe I tried that. The job was removed. But although one
full backup was 600 GB I had more than 1 TB of media/volumes on my disk.
And the media was marked Full. Doesn't it appear differently once it's
recycled? Or would Bareos in fact consider these volumes writeable again?

…Christoph


-- 
You received this message because you are subscribed to the Google Groups 
bareos-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.