Re: [Bacula-users] Reporting on previous jobs

2013-01-17 Thread Jack Cobb
Bill,

Thanks for the information.  Using your ideas and with help from one of our
MySQL programmers we were able to create a script that will work for us.

Jack



On 01/16/13 14:33, Jack Cobb wrote:
 We are using Bacula 5.0.3 on an Ubuntu 10.04 server using MySQL as the 
 database engine.  We review each day's backup to verify it completed 
 but now our auditors are asking for a report that shows the backup job 
 results for the previous twelve months...which is the amount of time we
keep our backup history.
 
  
 
 Has anyone ever generated a report using the Bacula history and if so 
 what tools did you use?  Thanks.

Hi Jack... couldn't you just use the list jobs bconsole output?

It is formatted reasonably enough as-is, or you could script something to
convert it into CSV format which could be pulled into a spreadsheet.

A quick (and very dirty) combination of bconsole, grep and sed might do the
trick like so:

echo list jobs | bconsole -c /etc/bacula/bconsole.conf \
 | grep ^| | sed  -e 's/|//g' -e 's/,//g' -e 's/^ \+//' \
 -e 's/ \+/ /g' -e 's/ \+$//' -e 's/ /,/g'


Which outputs:

--[snip]--
18966,SpeedyFull,2013-01-15,20:30:21,B,I,23614,1816360338,T
18967,SpeedyMusic,2013-01-15,20:30:21,B,I,0,0,T
18969,Voip,2013-01-15,20:30:21,B,I,152,1174965049,T
18980,Voip,2013-01-15,20:30:21,C,I,152,1174982569,T
18970,Satch,2013-01-15,20:30:23,B,I,84,1311771664,T
18965,NewbyFull,2013-01-15,20:30:26,B,I,1513,812848531,T
18971,Zimbra,2013-01-16,02:45:00,B,F,387775,16323518664,T
18972,Helpdesk,2013-01-16,02:46:58,B,F,182057,9736122612,T
18973,Newby_MustHave,2013-01-16,04:00:05,B,F,22914,6787198696,T
18974,Catalog,2013-01-16,04:04:36,B,F,9,11054415984,T
--[snip]--


Of course, all of our Job Names contain no spaces so the above output does
not insert double quotes, but that is easy enough to fix if you have spaces
in your job names.

Hope this helps

--
Bill Arlofski
Reverse Polarity, LLC


--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Reporting on previous jobs

2013-01-16 Thread Jack Cobb
We are using Bacula 5.0.3 on an Ubuntu 10.04 server using MySQL as the
database engine.  We review each day's backup to verify it completed but now
our auditors are asking for a report that shows the backup job results for
the previous twelve months...which is the amount of time we keep our backup
history.  

 

Has anyone ever generated a report using the Bacula history and if so what
tools did you use?  Thanks.

 

Jack Cobb

MIS Department

Skyline Corporation

574.294.6521 x.362

jc...@skylinecorp.com

 

skyline_logo

 

image001.jpg--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Build catalog from tape using bscan

2012-09-13 Thread Jack Cobb
I am using Bacula 5.0.3 on an Ubuntu 10.04 server with a LTO-3 tape drive.
I have two identical servers at different locations running bacula and my
need is to restore data to server A from server B.  I have a recent backup
tape from server B and have used the bscan utility to add its records to the
existing catalog on server A so that I might then restore the data I need.  

 

The command I used on server A was:  bscan -c /etc/bacula/bacula-sd.conf -v
-P password -V 32X006 /dev/nst0

 

And the result of this command are:

 

bscan: bscan.c:683 294,912 file records. At file:blk=84:10,812
bytes=84,643,888,964

bscan: bscan.c:526 SOS_LABEL: Job record not found for JobId: 0

bscan: bscan.c:1006 Could not get Client record. ERR=Client record not found
in Catalog.

 

13-Sep 14:00 bscan JobId 0: End of Volume at file 95 on device Dell_LTO-3
(/dev/nst0), Volume 32X006

bscan: bscan.c:337-800 == JobId=0 

13-Sep 14:00 bscan JobId 0: End of all volumes.

bscan: bscan.c:637 End of all Volumes. VolFiles=95 VolBlocks=0
VolBytes=93,392,369,358

Records would have been added or updated in the catalog:

  1 Media

  1 Pool

  3 Job

299581 File

 

When I look for this job in the catalog I am not able to find it.  Could
someone tell me what I am doing wrong?  

 

Thanks for your help.

 

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] Bacula-Web 5.2.10 is out

2012-08-10 Thread Jack Cobb
Davide,

 

Thanks for the latest version of Bacula-web.  I installed it on our Ubuntu 
server running Bacula and it produces some useful information for us.

 

Jack Cobb

 

 

From: bacula-...@dflc.ch [mailto:bacula-...@dflc.ch] 
Sent: Thursday, August 09, 2012 5:36 PM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Bacula-Web 5.2.10 is out

 

Dear all,

I'm proud to announce you that Bacula-Web 5.2.10 is available for download

The detailled release note is available in the download section
http://bacula-web.org/download.html

Best regards

Davide

Bacula-Web project site: www.bacula-web.org http://bacula-web.org/home.html 

--
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


[Bacula-users] Could not find next Volume for Job error

2012-06-21 Thread Jack Cobb
Hello,

 

We are running Bacula 5.0.1 on Ubuntu 10.04 64-bit on a  Dell server with an
internal LTO-3 tape drive.  We have three pools (Daily, Weekly and Monthly)
configured and Bacula has been running without incident for almost a year
now until today.

 

When running the list nextvol command the following error message appears:

 

Could not find next Volume for Job Windows Server Backup (Pool=Weekly,
Level=Full)

 

When I run the list media command for the Weekly pool three tapes are listed
in the used status with a volume retention period of 14 days.  The oldest
tape was written on 5-24-2012 so I would expect this tape to be used next.

 

Pool: Weekly

+-++---+-++--+--
+-+--+---+---+-+

| MediaId | VolumeName | VolStatus | Enabled | VolBytes   | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|

+-++---+-++--+--
+-+--+---+---+-+

|   9 | 32X009 | Used  |   1 | 92,813,349,888 |   94 |
1,209,600 |   1 |0 | 0 | LTO-3 | 2012-06-14 21:58:35 |

|  10 | 32X010 | Used  |   1 |  1 |0 |
1,209,600 |   1 |0 | 0 | LTO-3 | 2012-05-24 21:57:55 |

|  11 | 32X011 | Used  |   1 |  1 |0 |
1,209,600 |   1 |0 | 0 | LTO-3 | 2012-05-31 21:57:28 |

+-++---+-++--+--
+-+--+---+---+-+

 

Any help would be appreciated in determining why Bacula cannot find the next
volume. 

 

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] Could not find next Volume for Job error

2012-06-21 Thread Jack Cobb
Juan,

 

What we ended up doing was to manually change the status on the tape we
wanted to use to Recycle and then when we re-ran list nextvol it found the
correct tape.  Don’t quite understand why this worked but it did.  Thanks
for your response.

 

Jack Cobb

 

 

From: Juan Pablo Botero [mailto:juanpabloboterolo...@gmail.com] 
Sent: Thursday, June 21, 2012 12:59 PM
To: jc...@skylinecorp.com
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Could not find next Volume for Job error

 

Hi.

Maybe some change related with storage, and the bacula-dir didn't know that.

2012/6/21 Jack Cobb jc...@skylinecorp.com

Hello,

 

We are running Bacula 5.0.1 on Ubuntu 10.04 64-bit on a  Dell server with an
internal LTO-3 tape drive.  We have three pools (Daily, Weekly and Monthly)
configured and Bacula has been running without incident for almost a year
now until today.

 

When running the list nextvol command the following error message appears:

 

Could not find next Volume for Job Windows Server Backup (Pool=Weekly,
Level=Full)

 

When I run the list media command for the Weekly pool three tapes are listed
in the used status with a volume retention period of 14 days.  The oldest
tape was written on 5-24-2012 so I would expect this tape to be used next.

 

Pool: Weekly

+-++---+-++--+--
+-+--+---+---+-+

| MediaId | VolumeName | VolStatus | Enabled | VolBytes   | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|

+-++---+-++--+--
+-+--+---+---+-+

|   9 | 32X009 | Used  |   1 | 92,813,349,888 |   94 |
1,209,600 |   1 |0 | 0 | LTO-3 | 2012-06-14 21:58:35 |

|  10 | 32X010 | Used  |   1 |  1 |0 |
1,209,600 |   1 |0 | 0 | LTO-3 | 2012-05-24 21:57:55 |

|  11 | 32X011 | Used  |   1 |  1 |0 |
1,209,600 |   1 |0 | 0 | LTO-3 | 2012-05-31 21:57:28 |

+-++---+-++--+--
+-+--+---+---+-+

 

Any help would be appreciated in determining why Bacula cannot find the next
volume. 

 

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




-- 
Cordialmente:
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia

http://www.jpilldev.net

 

--
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


[Bacula-users] Bacula tape loading problem

2012-05-17 Thread Jack Cobb
Hello,

 

We are running Bacula 5.0.1 on a 64-bit Ubuntu 10.04 server connected to a
Dell TL2000 tape library with two LTO-4 drives.  Before our Bacula jobs run
each we load the proper tapes (from running the list nextvol command) into a
slot in the library's magazine.  Then we run the update status slots command
to update the Bacula database with the current tape/slot information.

 

The problem we are experiencing is that when the job starts in the evening
it usually does not load the tape from the slot.  As a result we have to
manually mount the tape and then the backup job runs normally.  However, on
some nights Bacula does load the tape from the slot but this is the
exception and not the rule.

 

Can anyone give me some ideas on how to troubleshoot this problem and get
Bacula to automatically load the tape from the slot without any manual
intervention?  Thanks.

 

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] Bacula tape loading problem

2012-05-17 Thread Jack Cobb
Martin,

John Drescher e-mailed that the unmount command (which we had been using
after each job) causes the drive to enter into a blocked state such that
manual intervention is required afterward to load the drive again.  John
suggested using the release command instead and I have found that doing so
does not block the drive and thus should solve our problem.

Jack


-Original Message-
From: Martin Simmons [mailto:mar...@lispworks.com] 
Sent: Thursday, May 17, 2012 1:59 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Bacula tape loading problem

 On Thu, 17 May 2012 09:05:27 -0400, Jack Cobb said:

 We are running Bacula 5.0.1 on a 64-bit Ubuntu 10.04 server connected 
 to a Dell TL2000 tape library with two LTO-4 drives.  Before our 
 Bacula jobs run each we load the proper tapes (from running the list 
 nextvol command) into a slot in the library's magazine.  Then we run 
 the update status slots command to update the Bacula database with the
current tape/slot information.
 
 The problem we are experiencing is that when the job starts in the 
 evening it usually does not load the tape from the slot.  As a result 
 we have to manually mount the tape and then the backup job runs 
 normally.  However, on some nights Bacula does load the tape from the 
 slot but this is the exception and not the rule.
 
 Can anyone give me some ideas on how to troubleshoot this problem and 
 get Bacula to automatically load the tape from the slot without any 
 manual intervention?  Thanks.

Does Bacula issue any mtx-changer commands (to try to load the tape)?

Do they do anything or do they fail?

The log might show that.

__Martin


--
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


--
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


[Bacula-users] Bcopy help

2012-04-30 Thread Jack Cobb
Hello everyone,

I am wanting to copy data from one tape to a second tape so I have one
offsite and the other onsite.  I am using the bcopy utility but when I enter
the following command I receive an error message:

bcopy -c /etc/bacula/bacula-sd.conf -i LTO-4-0 -o LTO-4-1 -v
bcopy: bcopy.c:163 Wrong number of arguments:
Copyright (C) 2002-2010 Free Software Foundation Europe e.V.

Version: 5.0.1 (24 February 2010)

Usage: bcopy [-d debug_level] input-archive output-archive
   -b bootstrap  specify a bootstrap file
   -c file specify a Storage configuration file
   -d nn   set debug level to nn
   -dt   print timestamp in debug output
   -ispecify input Volume names (separated by |)
   -ospecify output Volume names (separated by |)
   -pproceed inspite of errors
   -vverbose
   -w dir  specify working directory (default /tmp)
   -?print this message

I have the bacula services turned off and am referencing the device names in
bacula-sd.conf.  The storage devices are tape drives in a Dell TL-2000 tape
library and I have tapes mounted in their respective drives.  If anyone
could offer some assistance I would appreciate it.  Thanks.

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] Bcopy help

2012-04-30 Thread Jack Cobb
John,

I have tried using the device names (i.e. /dev/nst2 and /dev/nst3) instead
and receive the same error.

Jack


On Mon, Apr 30, 2012 at 11:11 AM, Jack Cobb jc...@skylinecorp.com wrote:
 Hello everyone,

 I am wanting to copy data from one tape to a second tape so I have one 
 offsite and the other onsite.  I am using the bcopy utility but when I 
 enter the following command I receive an error message:

 bcopy -c /etc/bacula/bacula-sd.conf -i LTO-4-0 -o LTO-4-1 -v
 bcopy: bcopy.c:163 Wrong number of arguments:
 Copyright (C) 2002-2010 Free Software Foundation Europe e.V.

 Version: 5.0.1 (24 February 2010)

 Usage: bcopy [-d debug_level] input-archive output-archive
       -b bootstrap      specify a bootstrap file
       -c file         specify a Storage configuration file
       -d nn           set debug level to nn
       -dt               print timestamp in debug output
       -i                specify input Volume names (separated by |)
       -o                specify output Volume names (separated by |)
       -p                proceed inspite of errors
       -v                verbose
       -w dir          specify working directory (default /tmp)
       -?                print this message

 I have the bacula services turned off and am referencing the device 
 names in bacula-sd.conf.  The storage devices are tape drives in a 
 Dell TL-2000 tape library and I have tapes mounted in their respective 
 drives.  If anyone could offer some assistance I would appreciate it.
 Thanks.


It looks from that you are missing the input-archive and output-archive.
Although I am not at the moment sure what is expected for these (device
names? /dev/nst0 ...)

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] Bcopy help

2012-04-30 Thread Jack Cobb
 John,

 I have tried using the device names (i.e. /dev/nst2 and /dev/nst3) 
 instead and receive the same error.

 Jack


 On Mon, Apr 30, 2012 at 11:11 AM, Jack Cobbjc...@skylinecorp.com  wrote:
 Hello everyone,

 I am wanting to copy data from one tape to a second tape so I have 
 one offsite and the other onsite.  I am using the bcopy utility but 
 when I enter the following command I receive an error message:

 bcopy -c /etc/bacula/bacula-sd.conf -i LTO-4-0 -o LTO-4-1 -v
 bcopy: bcopy.c:163 Wrong number of arguments:
 Copyright (C) 2002-2010 Free Software Foundation Europe e.V.

 Version: 5.0.1 (24 February 2010)

 Usage: bcopy [-d debug_level]input-archive  output-archive
-b bootstrap  specify a bootstrap file
-cfile   specify a Storage configuration file
-dnn set debug level tonn
-dt   print timestamp in debug output
-ispecify input Volume names (separated by |)
-ospecify output Volume names (separated by |)
-pproceed inspite of errors
-vverbose
-wdirspecify working directory (default /tmp)
-?print this message

 I have the bacula services turned off and am referencing the device 
 names in bacula-sd.conf.  The storage devices are tape drives in a 
 Dell TL-2000 tape library and I have tapes mounted in their 
 respective drives.  If anyone could offer some assistance I would
appreciate it.
   Thanks.


 It looks from that you are missing the input-archive and output-archive.
 Although I am not at the moment sure what is expected for these 
 (device names? /dev/nst0 ...)

 John


 Hi,

 Could you try something like this:

 bcopy -c /etc/bacula/bacula-sd.conf -i LTO-4-0 -o LTO-4-1 /dev/nst2
 /dev/nst3

 I have never used bcopy with two tape drives. In the bcopy documentation
is a note about that  this compliance with two tape drives has been never
tested.

 In addition I suggest to add debug to your bcopy command, eg.
 bcopy  -d 400 -c /etc/bacula/bacula-sd.conf -i LTO-4-0 -o LTO-4-1
 /dev/nst2 /dev/nst3

 Good luck! :)
 Gani

Gani,

Thanks for the reply.  I created a bootstrap file with the tape volume names
in it separated by a | symbol and then used the following command which was
successful:

bcopy -b /etc/bacula/list.bsr -c /etc/bacula/bacula-sd.conf /dev/nst3
/dev/nst2

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


[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 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


[Bacula-users] Running out of space on tape

2012-04-16 Thread Jack Cobb
Hi,

 

I am using Bacula 5.0.1 running on an Ubuntu 10.04 64-bit server with a Dell
PowerVault TL2000 tape library attached via a SAS controller.  In the
library are two LTO4 drives and I am using LTO4 media.  From a backup over
the weekend I found the following message in the bacula log:

 

utility-sd JobId 377: End of medium on Volume 32 Bytes=843,378,278,400
Blocks=13,073,199 at 14-Apr-2012 19:45

 

I was hoping to get more than 843GB on a tape that can hold 800GB without
compression.  I guess I can go to two tapes for this backup in the future
but I would sure hate to spend money on more tapes.  Has anyone run into a
similar situation?

 

Jack Cobb

 

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Running out of space on tape

2012-04-16 Thread Jack Cobb
Hi,

 

I am using Bacula 5.0.1 running on an Ubuntu 10.04 64-bit server with a Dell
PowerVault TL2000 tape library attached via a SAS controller.  In the
library are two LTO4 drives and I am using LTO4 media.  From a backup over
the weekend I found the following message in the bacula log:

 

utility-sd JobId 377: End of medium on Volume 32 Bytes=843,378,278,400
Blocks=13,073,199 at 14-Apr-2012 19:45

 

I was hoping to get more than 843GB on a tape that can hold 800GB without
compression.  I guess I can go to two tapes for this backup in the future
but I would sure hate to spend money on more tapes.  Has anyone run into a
similar situation?

 

Jack Cobb

 

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users