Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-17 Thread Kern Sibbald
Hello Phil, I have not yet figured out what is going wrong here, or what triggered Bacula to think it is trying to use a Volume directly from the Scratch pool. I am going to look at the code in more detail to see if I can find the problem. In any case, I am planning to remove the code as in

Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-15 Thread Phil Stracchino
On 01/15/17 16:34, Kern Sibbald wrote: > Hello Phil, > > It is a bit late here so I will look at all your output tomorrow, but if > you have the patience, go to: > > /src/dird/ua_run.c > then at line 1074, you should have the following lines of code: > > /* Not a good idea to start a job wi

Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-15 Thread Kern Sibbald
Hello Phil, It is a bit late here so I will look at all your output tomorrow, but if you have the patience, go to: /src/dird/ua_run.c then at line 1074, you should have the following lines of code: /* Not a good idea to start a job with the Scratch pool */ if (rc.pool && strcmp(rc.pool-

Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-15 Thread Phil Stracchino
Removed Storage from the Scratch pool definition. Updated the Scratch pool from resource. Re-updated director from 7.4.3 to 7.4.4 Re-entered the restore job. Job failed with the same invalid-scratch-pool message. cwd is: / $ cd /home/alaric cwd is: /home/alaric/ $ cd ".moonchild productions" cw

Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-15 Thread Phil Stracchino
On 01/15/17 02:35, Kern Sibbald wrote: > Sorry, I did not explain the problem clearly enough. For some reason (I > hope to find out Monday), doing backups directly to a Scratch pool (i.e. > the Scratch pool is directly referenced in the Job) do or can lead to > problems. Yeah, I can see that b

Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Kern Sibbald
Hello Phil, Please see below ... On 01/15/2017 03:25 AM, Phil Stracchino wrote: > On 01/14/17 16:36, Kern Sibbald wrote: >> Hello Phil, >> >> Someone apparently someone submitted the following comment to a bug report: >> >> >> Currently, a scratch pool is uses as any other pool. In particula

Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Phil Stracchino
On 01/14/17 16:36, Kern Sibbald wrote: > Hello Phil, > > Someone apparently someone submitted the following comment to a bug report: > > > Currently, a scratch pool is uses as any other pool. In particula, it is > possible to use a scratch pool as a target for backups. The result may > be

Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Kern Sibbald
Hello Phil, Someone apparently someone submitted the following comment to a bug report: Currently, a scratch pool is uses as any other pool. In particula, it is possible to use a scratch pool as a target for backups. The result may be quite unexpected and annoying. One solution would be t

Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Phil Stracchino
On 01/14/17 13:49, Phil Stracchino wrote: > On 01/14/17 13:19, Phil Stracchino wrote: >> Does anyone have the slightest idea what's going on here, or why Bacula >> suddenly cares about the scratch pool which it isn't even using for this >> job, but is perfectly happy to recycle expired disk volumes

Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Phil Stracchino
On 01/14/17 13:19, Phil Stracchino wrote: > Does anyone have the slightest idea what's going on here, or why Bacula > suddenly cares about the scratch pool which it isn't even using for this > job, but is perfectly happy to recycle expired disk volumes into? Oh, and it's also perfectly happy to de

[Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Phil Stracchino
I have a problem. I need to restore a single directory of files. I have the required tape volume mounted, I set up the job, no problem, until I exit file selection. Then suddenly, bacula (7.4.4) tells me: 1,179 files selected to be restored. Pool "Scratch" not valid. Job not run. * ...Wait,