[Bacula-users] Spool block too big

2009-08-31 Thread teksupptom


Martin Simmons wrote:
 
 I think this can only be caused by a bug, so it is probably a good idead to
 upgrade to Bacula 3.0.1 to see if that fixes it.
 
 Are you using simultaneous jobs?  What values does the error give for the
 sizes of the blocks?
 
 __Martin
 
 --
 Enter the BlackBerry Developer Challenge  
 This is your chance to win up to $100,000 in prizes! For a limited time, 
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full prize  
 details at: http://p.sf.net/sfu/Challenge
 ___
 Bacula-users mailing list
 Bacula-users  at  lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



Hi Martin,

We are actually in the process of upgrading to 3.01. We do run simultaneous 
jobs, with a limit of 2 since we have two tape drives.

The error we've seen is similar but not exact in all cases so far, here's an 
example:

Fatal error: spool.c:396 Spool block too big. Max 64512 bytes, got 4288020370

Sometimes the number is much smaller, but often it is very large, like above.

I'm hoping it disappears with Bacula 3.01 :)

Thanks,
Tom

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How do Jobs Queue?

2009-08-31 Thread teksupptom


Martin Simmons wrote:
 
 I think they are considered in the order that the Job definitions appear in
 the bacula-dir.conf.
 
 To guarantee the order, it is best to use different priorities.  I use
 priorities 1, 2, 3 etc for the backups and 201, 202, 203 etc for the
 corresponding verifies.
 
 __Martin
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Bacula-users mailing list
 Bacula-users  at  lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


Hi Martin,

I wish it were that simple, unfortunately the testing I've done shows there is 
more involved than just the order. My nightly Incrementals are set for the same 
time, and they get scheduled in the order they appear in the file. Then the 
different verify jobs are scheduled at the same time, but the verifies for one 
job type get scheduled, then the verifies for the other job type. Also, the 
first gets scheduled in one order (first client to last), while the other gets 
scheduled in opposite (last client to first).

It's like Bacula scans the job list from top to bottom, then back up, and back 
down, etc, until all jobs are queued for that day.

I like your suggestion about priorities, but the way I read the instructions 
was that jobs of a lower priority would wait until all jobs of a higher 
priority finish before starting. Since we have two tape drives, and use one of 
them for our large filesets, there would be times where the first tape drive 
would sit idle for a day or two while waiting for all the higher priority jobs 
to complete.

Am I misunderstanding the way priority is implemented?

Thanks for your help!
Tom

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] method to keep minimum # of backups?

2009-07-30 Thread teksupptom

Mark,

My understanding is that Bacula will hold onto the Volume info as long as 
possible. Also, it won't delete the files from the tape/disk, just the 
reference to them in the catalog. If you find that you're failing several 
backups in a row and want to make sure the most recent good backup isn't lost, 
the easiest thing is probably to set that volume aside and not use it until you 
get another good backup. 

The worst you would have to do for a restore is use bscan to find the file(s) 
you needed on the tape/disk.

Hope that helps :)
Tom

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How do Jobs Queue?

2009-07-30 Thread teksupptom

Greetings!

I've been working on adding automated Verify jobs to my configuration. I'd like 
to abuse my tape drive as little as possible, so I have the backups set to run 
as a group, then the verifies set to run at a later time as a group.

On a normal weeknight (like tonight), I have two Incremental jobs for each 
client, backing up two different FileSets. The Scheduled queue in the Director 
status for tonight shows my normal Incremental jobs, apparently sorted by 
client, starting with the last client in the config file and going backwards to 
the first client. These jobs are set to start at the same time.

After this section I see the Verify jobs listed. The odd thing is that the list 
begins with the verify for one fileset only, listing that job from the first 
client in the configuration file to the last, and then lists the other verify 
job from the last client to the first. This will cause a ton of tape movement.

What I was hoping to see would be that the backups would proceed as normal, 
both jobs for each client, then the verify jobs would follow the same pattern, 
so that the tape used would only need to rewind and move forward one time.


Here's a sample of what I see in the Director Status:

Incremental Backup10  30-Jul-09 21:00Client4Nikola   SSLI-064
Incremental Backup10  30-Jul-09 21:00Client4HomesSSLI-064
Incremental Backup10  30-Jul-09 21:00Client3Nikola   SSLI-064
Incremental Backup10  30-Jul-09 21:00Client3HomesSSLI-064
Incremental Backup10  30-Jul-09 21:00Client2Nikola   SSLI-064
Incremental Backup10  30-Jul-09 21:00Client2HomesSSLI-064
Incremental Backup10  30-Jul-09 21:00Client1Nikola   SSLI-064
Incremental Backup10  30-Jul-09 21:00Client1HomesSSLI-064
VolumeToCatalog Verify10  30-Jul-09 21:45Client1Homes.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client2Homes.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client3Homes.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client4Homes.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client4Nikola.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client3Nikola.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client2Nikola.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client1Nikola.Verify



Here's a sample of what I would like to see:

Incremental Backup10  30-Jul-09 21:00Client4Nikola   SSLI-064
Incremental Backup10  30-Jul-09 21:00Client4HomesSSLI-064
Incremental Backup10  30-Jul-09 21:00Client3Nikola   SSLI-064
Incremental Backup10  30-Jul-09 21:00Client3HomesSSLI-064
Incremental Backup10  30-Jul-09 21:00Client2Nikola   SSLI-064
Incremental Backup10  30-Jul-09 21:00Client2HomesSSLI-064
Incremental Backup10  30-Jul-09 21:00Client1Nikola   SSLI-064
Incremental Backup10  30-Jul-09 21:00Client1HomesSSLI-064
VolumeToCatalog Verify10  30-Jul-09 21:45Client4Nikola.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client4Homes.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client3Nikola.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client3Homes.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client2Nikola.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client2Homes.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client1Nikola.Verify
VolumeToCatalog Verify10  30-Jul-09 21:45Client1Homes.Verify




Any ideas or suggestions? Does anyone know the algorithm used to queue the jobs?

Thanks!

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Spool block too big

2009-07-16 Thread teksupptom

Hello,

We've been intermittently having an issue with backups failing due to the error 
Spool block too big. It's happened exactly 10 times since 4/27/09. It 
generally happens during large backups (900GB+).

The most recent error happened after the data had been spooled, and was being 
written to tape. These usually occur overnight so I don't always get to see 
what's going on, but this one happened during my normal shift. Prior to it 
happening I had noticed that the SD status showed the correct data spool file 
size, but showed 0 bytes for the attribute spool size. I double checked the 
directory we use to store the attribute spool file (same directory where the 
mail files are kept, but different from where we spool the data), and there was 
a 6GB+ attribute spool file for the job.

Not sure if this is what other people are seeing when this error occurs, but 
I'm hoping it can help in tracking down the source.

We're running Bacula 2.4.4 using PostGreSQL 7.4.19.

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Overriding Job and/or File Retention Periods?

2009-06-25 Thread teksupptom

Thanks for the suggestions Dirk. I was afraid that it would come down to 
scripting; being a temp Student admin I'm trying to keep things as 
straightforward as possible for the next person who has to deal with it.

I was hoping I had missed something and that the Job resource could also set 
the job retention period.

Thank You :)
Tom

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Passing the current Storage to a Run Before Job script

2009-06-24 Thread teksupptom

Greetings!

I'm hopeful that someone can give us a little help. We currently run Bacula 
2.4.4. We have backups run on two storage devices, and each device has its own 
spool file directory. We've created a script that will check the spool 
directory at the start of each job to make sure that it's empty, since we've 
had a few issues with Bacula not deleting files due to crashes.

The issue comes in when we have to run a job on the other drive. For example, 
twice a year we run full backups of all of our file sets to be stored offsite. 
During this period, jobs that would normally run on our second tape drive are 
manually run on the primary drive instead, so that the second drive can be 
devoted to the offsite jobs. Unfortunately, the spool check script doesn't know 
about the storage change, so it will end up clobbering a valid spool file for 
the secondary drive, instead of checking the directory for the primary drive.

I've tried to find a variable to pass to the Run Before Job command to tell 
it the actual current storage, but have had no luck (${Storage} doesn't expand 
during the call). Does anyone know of a way to pass the storage to the script 
(without using Python)?

Thank You,
Tom

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Overriding Job and/or File Retention Periods?

2009-06-24 Thread teksupptom

Greetings!

Is there any way, in Bacula 2.4.4, to override the File and/or Job retention 
period in either the Job, Schedule, or FileSet resource? The reason I ask is 
that we have a couple of filesets that are extremely large, but only on a 
handful of clients. We don't have the space to restore these sets except 
'in-place', so we were looking for a way to keep the files/jobs for those jobs 
in the catalog until the volumes themselves were purged.

Any ideas are appreciated :)

Tom

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Overriding Job and/or File Retention Periods?

2009-06-24 Thread teksupptom

Trying to work around the file/job retention question above, is it possible to 
set up multiple Client resources for a single client machine, without running 
multiple file daemons on the client?

The way I read the manual, the name given to the client file daemon is what 
needs to be used for the client resource in the Director config. Is that true, 
or am I reading it incorrectly?

Thanks for any help,
Tom

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users