SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Copy Jobs - Am I doing something wrong?
Author Message
Post Copy Jobs - Am I doing something wrong? 
Hello everyone,

I emailed the list previously about some issues which I am having with copy jobs in my Bacula setup - I appear to have resolved my previous problems, however I'm now faced with the following issue:


This morning, I noticed that in my backup reports from Bacula, I had the following logged from our file server:

30-Jan 01:00 FileServer1-dir JobId 240: The following 3 JobIds were chosen to be copied: 161,163,231
30-Jan 01:00 FileServer1-dir JobId 240: Job not run.
30-Jan 01:00 FileServer1-dir JobId 240: Error: Could not start migration job.
30-Jan 01:00 FileServer1-dir JobId 240: Job not run.
30-Jan 01:00 FileServer1-dir JobId 240: Error: Could not start migration job.
30-Jan 01:00 FileServer1-dir JobId 240: Copying using JobId=231 Job=FileServer1.2012-01-29_23.59.01_21
30-Jan 01:00 FileServer1-dir JobId 240: Bootstrap records written to /var/lib/bacula/FileServer1-dir.restore.18.bsr
30-Jan 01:01 FileServer1-dir JobId 240: Start Copying JobId 240, Job=FileServer1_Copy.2012-01-30_01.00.00_30
30-Jan 01:01 FileServer1-dir JobId 240: Using Device "FileServer1_Full_Copy"
30-Jan 01:01 FileServer1-sd JobId 240: Ready to read from volume "FileServer1_Full_1262" on device "FileServer1_Full" (/mnt/backup/Bacula/FileServer1/Full).

As you can see, Job231 is copied with no problems, but Job161 and Job163 are not copied.

When run manually this morning, I was given a little more information:

run job=FileServer1_Copy pool=FileServer1_Full storage=FileServer1_Full
30-Jan 06:55 FileServer1-dir JobId 0: Fatal error: No Next Pool specification found in Pool "Default".
30-Jan 06:55 FileServer1-dir JobId 0: Fatal error: No Next Pool specification found in Pool "Default".
30-Jan 06:55 FileServer1-dir JobId 255: The following 3 JobIds were chosen to be copied: 2,161,163
30-Jan 06:55 FileServer1-dir JobId 255: Job not run.
30-Jan 06:55 FileServer1-dir JobId 255: Error: Could not start migration job.
30-Jan 06:55 FileServer1-dir JobId 255: Job not run.
30-Jan 06:55 FileServer1-dir JobId 255: Error: Could not start migration job.
30-Jan 06:55 FileServer1-dir JobId 255: Copying using JobId=163 Job=FileServer1.2012-01-26_23.59.00_09

After investigation this morning, I seem to be being bitten by this bug: http://bugs.bacula.org/view.php?id=1399 however, there doesn't seem to be any activity since July last year. Now, I'm not complaining that the bug is not fixed - I appreciate that this is an open source project and I am grateful for vast amounts of time people spend on the project.

What I would like to know, though, is why I am being affected by this bug. To me, it seems as if I am doing something out of the ordinary, which is highlighting the issue, however I'm not sure what I'm doing wrong.

So that you can obtain a better understanding of the way in which I have setup Bacula, I have included the necessary sections of my bacula-dir.conf:

Client {
Name = FileServer1-fd
Address = FileServer1
FDPort = 9102
Catalog = MyCatalog
Password =
File Retention = 6 months
Job Retention = 6 months
AutoPrune = yes
Maximum Concurrent Jobs = 2
}

Schedule {
Name = "FileServer1 Copy Schedule"
Run = Level=Full Pool=FileServer1_Full Storage=FileServer1_Full mon at 01:00
Run = Level=Full Pool=FileServer1_Inc Storage=FileServer1_Inc tue-sun at 01:00
}

JobDefs {
Name = DefaultCopy
Type = Copy
Level = Full
Client = FileServer1-fd
Messages = Standard
Selection Type = PoolUncopiedJobs
}

Job {
Name = "FileServer1_Copy"
JobDefs = DefaultCopy
Type = Copy
Client = FileServer1-fd
FileSet = "FileServer1 System"
Pool = Default
Messages = Standard
Schedule = "FileServer1 Copy Schedule"
Storage = Default
}

Pool {
Name = FileServer1_Full_Copy
Pool Type = *Copy
Volume Retention = 1 weeks
Recycle = yes
AutoPrune = yes
LabelFormat = FileServer1_Full_Copy_
Maximum Volume Bytes = 1G
Storage = "FileServer1_Full_Copy"
}

I am using the packages provided in the main Ubuntu repository, so I am using 5.0.1 (Dir/SD/FD). I'm aware that there is a patch available on the aforementioned bug ticket, however I'm not in a position to be patching and compiling from source on this system, as it's in production. What I'm looking for is anyone's thoughts on why this is affecting me, and ways I could possibly work around the issue with the current version of Bacula I have installed.

I hope someone can help!

Thanks,

Joe Nyland

Post Copy Jobs - Am I doing something wrong? 
On Mon, Jan 30, 2012 at 12:18:30PM +0000, Joe Nyland wrote:
When run manually this morning, I was given a little more information:
run job=FileServer1_Copy pool=FileServer1_Full storage=FileServer1_Full
30-Jan 06:55 FileServer1-dir JobId 0: Fatal error: No Next Pool specification found in Pool "Default".
30-Jan 06:55 FileServer1-dir JobId 0: Fatal error: No Next Pool specification found in Pool "Default".

AFAIK you need a Next Pool statement for Copy/Migration jobs.
Perhaps some of your backups went on Default pool instead of the one you
intended them to be?

Regards,
Adrian
--
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91
Mail: lihas < at > lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Copy Jobs - Am I doing something wrong? 
On 30 Jan 2012, at 16:05, Adrian Reyer wrote:

On Mon, Jan 30, 2012 at 12:18:30PM +0000, Joe Nyland wrote:
When run manually this morning, I was given a little more information:
run job=FileServer1_Copy pool=FileServer1_Full storage=FileServer1_Full
30-Jan 06:55 FileServer1-dir JobId 0: Fatal error: No Next Pool specification found in Pool "Default".
30-Jan 06:55 FileServer1-dir JobId 0: Fatal error: No Next Pool specification found in Pool "Default".

AFAIK you need a Next Pool statement for Copy/Migration jobs.
Perhaps some of your backups went on Default pool instead of the one you
intended them to be?

Regards,
Adrian
--
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91
Mail: lihas < at > lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart

Thanks for the reply Adrian.

Unfortunately, there's no chance of that happening, as this was a fresh catalogue database only a few weeks ago.
Furthermore, no NextPool resources have been changed since the catalogue was cleared out.

The actual backup jobs themselves run on a schedule, which specifies the pool and storage resource for the job to use, so there's not really any chance the pool resource could have been set to Default for the jobs affected by this issue.
No jobs have been run manually to the Default pool - they are either run with the pool set to FileServer1_Full or FileServer1_Inc.

Thank you for your suggestion though!

Any other thoughts?

Kind regards,

Joe
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
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