SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Two tape drives
Author Message
Post Two tape drives 
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










Post Two tape drives 
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 < at > 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


--
Blue Barracuda Prashant Ramhit is the Systems Administrator at

Blue Barracuda UK
t: +44 (0)20 7400 0950
Sweeps Building,
34 Leather Lane,
London,
EC1N 7SQ
www.bluebarracuda.com


Post Two tape drives 
On 07/09/10 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.

Prashant,
This is quite simple. here are the necessary steps:
1. Create different storage devices for the two tape drives, *with
different media types* (LTO2 and LTO4 would be the obvious types).
2. Create a separate Pool of volumes for each media type. (Say,
LTO2-pool with volumes of type LTO2, and LTO4-pool with volumes of type
LTO4.)
3. Use the Full Pool, Differential Pool and Incremental Pool directives
in your JobDefs to specify the correct Pool for each level. Bacula will
figure out the correct storage device to use based on the media type
specified in the Pool.


--
Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
alaric < at > caerllewys.net alaric < at > metrocast.net phil < at > co.ordinate.org
Renaissance Man, Unix ronin, Perl hacker, Free Stater
It's not the years, it's the mileage.

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Two tape drives 
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 < at > 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.net ([email]Bacula-users < at > lists.sourceforge.net[/email])
https://lists.sourceforge.net/lists/listinfo/bacula-users









Post Two tape drives 
Hi Phil,
Fantastic, let me try that.

Thanks
Prashant


On 09/07/10 15:04, Phil Stracchino wrote: On 07/09/10 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.

Prashant,
This is quite simple. here are the necessary steps:
1. Create different storage devices for the two tape drives, *with
different media types* (LTO2 and LTO4 would be the obvious types).
2. Create a separate Pool of volumes for each media type. (Say,
LTO2-pool with volumes of type LTO2, and LTO4-pool with volumes of type
LTO4.)
3. Use the Full Pool, Differential Pool and Incremental Pool directives
in your JobDefs to specify the correct Pool for each level. Bacula will
figure out the correct storage device to use based on the media type
specified in the Pool.




--
Blue Barracuda Prashant Ramhit is the Systems Administrator at

Blue Barracuda UK
t: +44 (0)20 7400 0950
Sweeps Building,
34 Leather Lane,
London,
EC1N 7SQ
www.bluebarracuda.com

Post Two tape drives 
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 < at > 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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users











Post Two tape drives 
Hi,
Your solution worked perfectly.
Storage can be defined in either the Job or Pool.
And you should specify the level in the Job, the bacula figures out which pool to backup to, hence the storage and the drive.

Thanks for that,
Regards,

Prashant


On 09/07/10 15:16, Prashant Ramhit wrote: Hi Phil,
Fantastic, let me try that.

Thanks
Prashant


On 09/07/10 15:04, Phil Stracchino wrote: On 07/09/10 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.
Prashant,
This is quite simple. here are the necessary steps:
1. Create different storage devices for the two tape drives, *with
different media types* (LTO2 and LTO4 would be the obvious types).
2. Create a separate Pool of volumes for each media type. (Say,
LTO2-pool with volumes of type LTO2, and LTO4-pool with volumes of type
LTO4.)
3. Use the Full Pool, Differential Pool and Incremental Pool directives
in your JobDefs to specify the correct Pool for each level. Bacula will
figure out the correct storage device to use based on the media type
specified in the Pool.




--
Blue Barracuda Prashant Ramhit is the Systems Administrator at

Blue Barracuda UK
t: +44 (0)20 7400 0950
Sweeps Building,
34 Leather Lane,
London,
EC1N 7SQ
www.bluebarracuda.com


--
Blue Barracuda Prashant Ramhit is the Systems Administrator at

Blue Barracuda UK
t: +44 (0)20 7400 0950
Sweeps Building,
34 Leather Lane,
London,
EC1N 7SQ
www.bluebarracuda.com

Post Two tape drives 
On 07/09/10 11:55, Prashant Ramhit wrote:
Hi,
Your solution worked perfectly.
Storage can be defined in either the Job or Pool.
And you should specify the level in the Job, the bacula figures out
which pool to backup to, hence the storage and the drive.

That's it exactly.


--
Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
alaric < at > caerllewys.net alaric < at > metrocast.net phil < at > co.ordinate.org
Renaissance Man, Unix ronin, Perl hacker, Free Stater
It's not the years, it's the mileage.

------------------------------------------------------------------------------
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.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB