Wanderlei,
Thank you. This is good work. But, I would certainly hope that there is a
Bacula supported method to accomplish this. If not, I will use your method.
Jim Richardson
From: Wanderlei Huttel [mailto:wanderleihut...@gmail.com]
Sent: Monday, May 22, 2017 5:57 PM
To: Jim Richardson <j...@securit360.com>
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Forcing Single File Per Job in Rotation
Hello Jim
I have a script in my github that can help you a create a new one to use in an
Admin job and delete the expired volumes.
https://github.com/wanderleihuttel/bacula-utils/blob/master/conf/scripts/_delete_multiples_volumes.sh
Best Regards
Wanderlei Hüttel
http://www.huttel.com.br
2017-05-22 19:45 GMT-03:00 Jim Richardson
<j...@securit360.com<mailto:j...@securit360.com>>:
Wanderlei,
I want the detailed volume labels, I don’t want to recycle then, I want them
overwritten, purged, or whatever the terminology is. I do want to keep the
weekly volumes for 14 days and the daily volumes for 2 days.
Jim Richardson
From: Wanderlei Huttel
[mailto:wanderleihut...@gmail.com<mailto:wanderleihut...@gmail.com>]
Sent: Monday, May 22, 2017 5:40 PM
To: Jim Richardson <j...@securit360.com<mailto:j...@securit360.com>>
Cc:
bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net>
Subject: Re: [Bacula-users] Forcing Single File Per Job in Rotation
Hello Jim
If you want to recycle the volumes do not use the Labels so detailed.
Or you you want the Labels more detailed, you could use an Admin Job with some
shell script and delete the volumes.
Best regards
Wanderlei Hüttel
http://www.huttel.com.br
2017-05-22 17:11 GMT-03:00 Jim Richardson
<j...@securit360.com<mailto:j...@securit360.com>>:
Et Al.
I want to have one job per file. I am successfully able to accomplish this by
using the UseVolumeOnce = yes, Recycle = no, and the Volume Retention = 2 days
or 14 days. My files Label Format =
"${Client}-Weekly-${JobId}-${Year}.${Month}.${Day}.bak".
Everything works as expected until one of the volume gets recycled.
I see this information in the log:
Recycled volume "hrms-fd-Daily-131-2017.4.29.bak" on file device
"FileChgr1-Dev1" (/backup/bacula/filebackup01), all previous data lost
Job: Job: D2D-L360SPR01-Application.2017-05-16_19.00.01_00
Volume name(s): hrms-fd-Daily-131-2017.4.29.bak
So in this case the Volume label and the data it contains does not match. I
have read through the manual and searched on the subject, but can’t find a
clear answer to my problem. It looks like the Recycle = no option in the pool
would solve the problem, but adding it didn’t seem to stop the behavior.
Thank you in advance.
Jim Richardson
CONFIDENTIALITY: This email (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you received this email in error, please
notify the sender and delete this email from your system. Thank you.
------------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users