Bacula-users

Re: [Bacula-users] Two tape drives

2010-07-09 10:21:54
Subject: Re: [Bacula-users] Two tape drives
From: Laurent Chouinard <laurent.chouinard AT sem DOT ca>
To: Prashant Ramhit <prashant AT bluebarracuda DOT com>
Date: Fri, 09 Jul 2010 10:18:25 -0400
Prashant,

Could you please paste the entire config you're using? It would appear that the "Storage" parameter can not be located in the job or job defaults or schedule, leaving bacula with no possible destination for one Run.

Regards,
Laurent Chouinard



On 2010-07-09 10:13, Prashant Ramhit wrote:
Hi Laurent,
Sorry, I've corrected the spelling mistakes, but there is still an issue, as error says Config error: Job type field: Storage in run record not found.
I think is it more of an invalid parameter in the schedule section.

I'll keep trying.

Regards,
Prashant


On 09/07/10 14:14, Laurent Chouinard wrote:
Prashant,

It almost sounds like a misspelling. I see that in your schedule, you wrote LTO with a zero, like LT zero-two. But LTO drives have that name for the acronym "Linear Tape Open", so if your storage config spells it with the letterO, then that's a problem. Try copy-pasting the name to be sure it's found.

Regards,
Laurent Chouinard


On 2010-07-09 09:02, Prashant Ramhit wrote:
Hi Laurent,

This is what it says when I restart bacula, after adding Storage= LT02-Drive

root@backupserver:/etc/bacula# /etc/init.d/bacula-director restart
 * Stopping Bacula Director...                                                                                            [ OK ]
 * Starting Bacula Director...                                                                                                   09-Jul 13:56 bacula-dir: ERROR TERMINATION at run_conf.c:380
Config error: Job type field: Storage in run record not found
            : line 10, col 45 of file /etc/bacula/schedules.conf
  Run = Differential mon-thu at 23:45 Storage = LT02-Drive

Config:

Schedule {
  Name = "WeeklyOffsite"
  Run = Full sun at 3:00
  Run = Differential mon-thu at 23:45 Storage = LT02-Drive
}

>From that, I assume that the parameters for specifying another storage should be elsewhere,

Regards,
Prashant


On 09/07/10 13:40, Laurent Chouinard wrote:
On 2010-07-09 06:31, Prashant Ramhit wrote:
Hi All,
I have an LTO4 and LTO2 tapes drive on bacula.

How can I specify a Job/specify to use the LTO4 for full backup on week ends  and then differential for LTO2 mon-fri.

As the following does not work
 
 Schedule {
  Name = "WeeklyOffsite"
  Run = Full sun at 3:00 Storage = LT04-drive
  Run = Differential mon-thu at 23:45 Storage = LT02-drive
}

If you have the same setup could you please point me to the correct documentation for this please.

Kind Regards,
Prashant Ramhit



Prashant,

What does the log say when it runs those jbos?
Which is the two fail? The full on LTO4, or the Diff on LTO2?
Also, if you run the job manually with "run" command, and then set the type to "Full" and storage to "LTO4", (and then the same for Diff/LTO2), can these jobs work fine?

Regards,
Laurent Chouinard

------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ Bacula-users mailing list Bacula-users AT lists.sourceforge DOT net https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>