[Bacula-users] Determining next tapes to use

2012-04-27 Thread Jack Cobb
Hello everyone,

 

We are using Bacula 5.0.1 running on an Ubuntu 10.04 server attached to a
Dell PowerVault TL2000 tape library.  I run differential daily backups
Monday thru Thursday and a full weekly backup on Friday.  I have pools setup
for both the daily and weekly tapes and use the list nextvol command from
bconsole to determine the next tape I should be using.  This works fine for
the daily differential backups because they only use one tape each day.
However, the weekly full backup always takes two tapes.  If I use the list
nextvol command for the full backup it only gives me the next single tape to
use.  

 

Since I place the tapes in the tape library's magazine before I leave each
day I would like to be able to know which two tapes to use for the weekly
full backup.  What I have been doing so far is to place in the library all
the remaining tapes in the full backup pool.  I would prefer for Bacula to
tell me what the next two tapes should be used instead.  Does anyone know
how to accomplish this?

 

Thanks in advance.

 

Jack Cobb

 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Determining next tapes to use

2012-04-27 Thread John Drescher
2012/4/27 Jack Cobb jc...@skylinecorp.com:
 Hello everyone,



 We are using Bacula 5.0.1 running on an Ubuntu 10.04 server attached to a
 Dell PowerVault TL2000 tape library.  I run differential daily backups
 Monday thru Thursday and a full weekly backup on Friday.  I have pools setup
 for both the daily and weekly tapes and use the list nextvol command from
 bconsole to determine the next tape I should be using.  This works fine for
 the daily differential backups because they only use one tape each day.
 However, the weekly full backup always takes two tapes.  If I use the list
 nextvol command for the full backup it only gives me the next single tape to
 use.



 Since I place the tapes in the tape library’s magazine before I leave each
 day I would like to be able to know which two tapes to use for the weekly
 full backup.  What I have been doing so far is to place in the library all
 the remaining tapes in the full backup pool.  I would prefer for Bacula to
 tell me what the next two tapes should be used instead.  Does anyone know
 how to accomplish this?


Bacula can not do this because it only recycles volumes when a volume
is needed. Before running a job it does not have any idea how many
volumes would be needed. One way for you to figure out what tapes it
will ask for is to sort your destination pool by lastwritten.

John

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Determining next tapes to use

2012-04-27 Thread Jack Cobb
John,

Thanks for the reply.  I will give that a try and work on a script that will
tell me the next two tapes I could use based on the last written date.

Jack



2012/4/27 Jack Cobb jc...@skylinecorp.com:
 Hello everyone,



 We are using Bacula 5.0.1 running on an Ubuntu 10.04 server attached 
 to a Dell PowerVault TL2000 tape library.  I run differential daily 
 backups Monday thru Thursday and a full weekly backup on Friday.  I 
 have pools setup for both the daily and weekly tapes and use the list 
 nextvol command from bconsole to determine the next tape I should be 
 using.  This works fine for the daily differential backups because they
only use one tape each day.
 However, the weekly full backup always takes two tapes.  If I use the 
 list nextvol command for the full backup it only gives me the next 
 single tape to use.



 Since I place the tapes in the tape library’s magazine before I leave 
 each day I would like to be able to know which two tapes to use for 
 the weekly full backup.  What I have been doing so far is to place in 
 the library all the remaining tapes in the full backup pool.  I would 
 prefer for Bacula to tell me what the next two tapes should be used 
 instead.  Does anyone know how to accomplish this?


Bacula can not do this because it only recycles volumes when a volume is
needed. Before running a job it does not have any idea how many volumes
would be needed. One way for you to figure out what tapes it will ask for is
to sort your destination pool by lastwritten.

John


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users