Re: [Bacula-users] Problem with automatic tape recycling

2014-07-01 Thread Helge Hinkelmann
Am 27.06.2014 16:25, schrieb John Drescher:
 I receive this error info:
 Cannot automatically recycle current volume, as it still contains
 unpruned data or the Volume Retention time has not expired

 I don't get this, with the directives AutoPrune and Volume Retention
 this should not happen...

 Maybe the error message is telling you the truth. I mean Volume
 Retention time has not expired.

 post the output of list media for the volume in question.

Volume Retention in seconds is not summing up very well.
Perhaps you believe me, I checked Volume Retention, Use duration, 
Expire and Last Written for the tapes in bat.

Right now, I cannot deliver the requested information, I cleared the 
tape. Next week I'm going to do further tests.

By theory this should work flawless:

Tape FridayInc5:
Volume Retention: 25 days
Last Written: 2014-06-01
Expire: 2014-06-26
Use duration: 5 days
Vol. Bytes: 38 GB
Vol. Status: Append
Recycle: Yes

 Also remember that changing the pool definition in bacula-dir.conf
 does nothing to change the retention period of existing volumes. You
 need to reload the config in bconsole then update pool from resource
 and then update all volumes in pool

Thanks, I know, did and checked afterwards.

Regards,
Helge

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with automatic tape recycling

2014-06-27 Thread Helge Hinkelmann
Hi there,

I'd like to recycle our 4 weekly (differential) backup tapes automatic, 
but it does not work. I'd appreciate any help.

After studying the documentation and the error reports, I have no clue 
what's the problem.

My relevant Config:

bacula-dir 5.2.6:
  Pool {
AutoPrune = yes
Recycle Current Volume = yes
Maximum Volumes = 1
Volume Use Duration = 5 days
Volume Retention = 25 days
...
}

As far as I know the directive Volume Use Duration in the pool should 
overwrite any given longer periods in other directives.

I receive this error info:
Cannot automatically recycle current volume, as it still contains 
unpruned data or the Volume Retention time has not expired

I don't get this, with the directives AutoPrune and Volume Retention 
this should not happen...

Any ideas?

Thanks a lot,
Helge

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with automatic tape recycling

2014-06-27 Thread John Drescher
 As far as I know the directive Volume Use Duration in the pool should
 overwrite any given longer periods in other directives.

 I receive this error info:
 Cannot automatically recycle current volume, as it still contains
 unpruned data or the Volume Retention time has not expired

 I don't get this, with the directives AutoPrune and Volume Retention
 this should not happen...

 Any ideas?

Maybe the error message is telling you the truth. I mean Volume
Retention time has not expired.

post the output of list media for the volume in question.

Also remember that changing the pool definition in bacula-dir.conf
does nothing to change the retention period of existing volumes. You
need to reload the config in bconsole then update pool from resource
and then update all volumes in pool

John

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users