That's a great update and makes a lot of sense. I shall try this out as well and feedback to you.
 
Thanks for your assistance. much appreciated!!!
 
Kumaran

Find your IP @ www.itsyourip.com

 
On 12/21/05, Beren Gamble <[EMAIL PROTECTED] > wrote:
It's taken me ages, but i've finally figured it out..

on your pool resource, add this.

Volume Use Duration = 23h

this will allow bacula 23 hours to finish backing up to that volume, then it'll still be in append mode until it goes to do another backup.

Then you get this wonderful message:
21-Dec 10:21 kai-dir: Max configured use duration exceeded. Marking Volume "Media3" as Used.

WOOHOO!

Here's a gotcha though. All previously created volumes will have to have the Volume Use Duration set manually to 23h. Do this using the "update" command.

Good luck.

>>> Kumaran Babu < [EMAIL PROTECTED]> 21/12/2005 09:56:20 >>>
I think I've finally worked around this problem, not a fix though. I run the
following as a RunBefore script which ensures that Bacula-Dir does the Tape
Recycle.

If this is not the right way or if there could be some issue that arise of
this that anyone know, please let me know.

If all is fine then people who have this problem can then try this.

Before_Backup.sh
=================

#!/bin/sh

bconsole -c /etc/bacula/bconsole.conf <<END_OF_DATA

@output /dev/null
status Director
unmount storage="DLT"
mount storage="DLT"

END_OF_DATA

exit 0

===========================
Kumaran

Find your IP @ www.itsyourip.com


On 12/20/05, Kumaran Babu < [EMAIL PROTECTED]> wrote:
>
> Hello All,
>
> I still have a problem with the Bacula backup software waiting for me
> enter STATUS 1 and then UNMOUNT and MOUNT to start the backup everyday.
>
> The Volume Retention  Period and Use Period is set for 5 days (for daily
> backups - 6 tapes in rotation) and 18 days for Weekly backups (3 tapes in
> rotation) and monthly backups is st to 5 months (6 tapes in rotation).
>
> I run a RUNBEFORE script to mount the tape and when checking the logs, it
> does mount it as per the script and then Bacula prunes the jobs on the Tape
> media. After this it starts the backup job and then instead of recycling the
> volume and start the backup, it stands and says " Cannot find any appendable
> volumes"
>
> I've tried all troubleshooters and possible settings specified on User
> guide and on the mailing list to my knowledge. Can someone help please?
>
> The following might just help in identifying the problem:
>
> RUN BEFORE SCRIPT:
> ==================
>
> #!/bin/sh
>
> bconsole -c /etc/bacula/bconsole.conf <<END_OF_DATA
>
> @output /dev/null
> # status 1
> # unmount storage="DLT"
> mount storage="DLT"
> quit
>
> END_OF_DATA
>
> exit 0
> #EOF
> ===============================================
>
> LOG:
> =-==
> 30-Nov 00:10 srvr-dir: RunBefore: Connecting to Director 172.29.6.250:9101
> 30-Nov 00:10 srvr-dir: RunBefore: 1000 OK: srvr-dir Version: 1.36.3 (22
> April 2005)
> 30-Nov 00:10 srvr-dir: RunBefore: Enter a period to cancel a command.
> 30-Nov 00:10 srvr-dir: RunBefore: mount storage=DLT
> 30-Nov 00:10 srvr-dir: RunBefore: Using default Catalog name=MyCatalog
> DB=bacula
> 30-Nov 00:10 srvr-dir: RunBefore: 3001 Mounted Volume: Tuesday
> 30-Nov 00:10 srvr-dir: RunBefore: 3001 Device /dev/nst0 is mounted with
> Volume "Tuesday"
> 30-Nov 00:10 srvr-dir: RunBefore: You have messages.
> 30-Nov 00:10 srvr-dir: Start Backup JobId 636, Job=
> NightlySave.2005-11-30_00.10.01
> 30-Nov 00:11 srvr-dir: Pruned 3 Jobs on Volume "Tuesday" from catalog.
> 30-Nov 00:11 srvr-sd: Job NightlySave.2005-11-30_00.10.01 waiting. Cannot
> find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>     Storage:      DLT-VS160
>     Media type:   DLT
>     Pool:         TuesdayPool
> 30-Nov 01:11 srvr-dir: Recycled volume "Tuesday"
> 30-Nov 01:11 srvr-sd: Please mount Volume "Tuesday" on Storage Device
> "DLT-VS160" for Job NightlySave.2005-11-30_00.10.01
> Use "mount" command to release Job.
> 30-Nov 03:11 srvr-sd: Please mount Volume "Tuesday" on Storage Device
> "DLT-VS160" for Job NightlySave.2005-11-30_00.10.01
> Use "mount" command to release Job.
> 30-Nov 07:11 srvr-sd: Please mount Volume "Tuesday" on Storage Device
> "DLT-VS160" for Job NightlySave.2005-11-30_00.10.01
> Use "mount" command to release Job.
> 30-Nov 09:16 srvr-sd: Recycled volume "Tuesday" on device "/dev/nst0", all
> previous data lost.
> 30-Nov 10:24 srvr-dir: Bacula 1.36.3 (22Apr05): 30-Nov-2005 10:24:27
> =======================================
>
> --
> Kumaran
>
> Find your IP @ www.itsyourip.com
>



--
Kumaran

Find your IP @ www.itsyourip.com


***********************************************************************************
Mail FROM London Borough of Harrow:
Unencrypted electronic mail is not secure and may not be authentic, in whole or in part. You are advised to check directly with the sender before acting upon any e-mail received.

The information contained in this message and any attachments is confidential and is intended for receipt by the above named addressee(s) only. If you have otherwise encountered this message please notify its originator via +44(0)20 8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. The  views expressed within this message are those of the individual sender and not necessarily those of Harrow Council.

Mail TO London Borough of Harrow:
London Borough of Harrow monitors all electronic mail it receives for Policy compliance and to protect its systems including anti-spam and anti-virus measures.

Electronic mail does not guarantee delivery, nor notification of non-delivery. It is suggested you contact your intended recipient(s) by other means should confirmation of receipt be important.
***********************************************************************************




--
Kumaran

Find your IP @ www.itsyourip.com

Reply via email to