Re: [Bacula-users] Jobs don't remain on schedule

2017-04-25 Thread Craig Shiroma
Hi Bill and Kern,

Yes, it looks like Bill was correct.  The jobs giving the problem were long
running jobs (12+ hours) so I think it just so happened that occasionally
(didn't happen every week), the full got pruned due to timing.

I increased "Max Full Interval" to 7 and things have been okay for 2 weeks
now.

Thank you for the help guys!

-craig


On Sat, Apr 1, 2017 at 5:21 AM, Kern Sibbald  wrote:

> Hello Craig,
>
> Given the first message below:
>
> No prior or suitable Full backup found in catalog. Doing FULL backup.
>
> I would agree with Bill's first point.  It appears that your Full backup
> was pruned, so Bacula had to do another one.
>
> Best regards,
>
> Kern
>
> On 03/31/2017 08:49 PM, Craig Shiroma wrote:
>
> Hello All,
>
> I have a few jobs that are on the below schedule:
>
> Schedule {
>   Name = "WeeklyFullOnFriRunFirst"
>   Run = Level=Full fri at 17:58
>   Run = Level=Incremental sat-thu at 18:00
> }
>
> The jobs followed the schedule until last night which was a Thursday.  An
> incremental was suppose to run, but a Full was run instead.  Would anyone
> know what could cause this to happen?  Previous full backup did run on a
> Friday at 17:58.
>
> The log for these jobs show similar text shown below:
> bacula-dir JobId 413490:
> bacula-dir JobId 413490: No prior or suitable Full backup found in
> catalog. Doing FULL backup.
> bacula-dir JobId 413490: Start Backup JobId 413490,
> Job=servername.2017-03-30_18.00.06_05
> bacula-dir JobId 413490: Max configured use duration=82,800 sec. exceeded.
> Marking Volume "servername-258519-vol" as Used.
> bacula-dir JobId 413490: Pruning oldest volume "servername-263826-vol"
> bacula-dir JobId 413490: There are no more Jobs associated with Volume
> "servername-263826-vol". Marking it purged.
> bacula-dir JobId 413490: All records pruned from Volume
> "servername-263826-vol"; marking it "Purged"
> bacula-dir JobId 413490: Using Device "servername" to write.
> bacula-sd JobId 413490: Recycled volume "servername-263826-vol" on file
> device "servername" (/backup01/servername/), all previous data lost.
>
> Seems like something is out of sync with the schedule that is causing the
> Full to run on the wrong day.
>
> Best regards,
> Craig
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> ___
> Bacula-users mailing 
> listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bfunction Linker Switch ?

2017-04-25 Thread Parthibarajan
Hi All,
So i came across the Bfunction Linker Switch issue when using Ubuntu 16.04 for 
TLS(Self Signed cert) and bacula version is 7.0.5.Am not able to tls handshake 
between director and dbconsole. Any update or progress on this.
ThanksParthi--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with schedule week of month ( wom )

2017-04-25 Thread Olivier Delestre

I understand better now;)

That is why I can have a lag of 7 days.

The first week starts at 0 (wom) and for Monday until Sunday 1-> 7

Example: month April 2017, Saturday 1 April and Sunday 2 April are in 
week 0 as well as Monday -> Friday.


So Friday 7 is the second Friday for bacula.

Thank you for putting me back on track
If I understood correctly :)

Le 24/04/2017 à 18:41, Kern Sibbald a écrit :


Yes, in English the 3rd Friday of April is 21 April, but what you are 
telling Bacula (remember it is a computer so its language is a bit 
different/simpler) is: run the VirtualFull on Friday of the 3rd week.


I got tired of trying to figure out the schedules using the show 
schedule command, so I wrote the "status scheduled" command, which 
does most of the work for you.  It has a few options such as days=nnn  
limit=nnn time=xxx job=xxx ...


If I remember right, the time option allows you to move around in time 
so if you want to see something a year later you don't need to print 
zillions of lines of output.


Best regards,

Kern


On 04/24/2017 02:37 PM, Olivier Delestre wrote:

My schedule is this :
Schedule {
  Name = "Weekly-virtualfull-3"
## ex 1st 2nd 3rd 4th 5th
Run = VirtualFull 3rd fri at 19:00
Run = Incremental 1st 2nd 4th 5th 6th fri at 19:00
Run = Incremental mon-thu at 19:00
}

and for me, human ;) the third Friday is the 21 April on my calendar.
Now I know it. And the virtual backup was launched by hand.

Note of version : Bacula 7.0.5

Le 24/04/2017 à 14:27, Kern Sibbald a écrit :


Well if I am not mistaken,

You didn't show your schedule, but I suspect that you are taking 
"3rd Fri" to mean the third Friday, when it most likely means what 
is shown below, which is Level=VirtualFull the Friday of the 3rd 
week, which is the 14th of April.


Best regards,

Kern


On 04/24/2017 01:54 PM, Olivier Delestre wrote:

Hi,

I Schedule a backup ( level = VirtualFull ) the 3rd fri of april 
2017 and  no virtual backup start but incremental

--
SHOW SCHEDULE
--
Schedule: name=Weekly-virtualfull-3
  --> Run Level=VirtualFull
  hour=19
  mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
22 23 24 25 26 27 28 29 30

  month=0 1 2 3 4 5 6 7 8 9 10 11
  wday=5
wom=2
  woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 
44 45 46 47 48 49 50 51 52 53

  mins=0
  --> Run Level=Incremental
  hour=19
  mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
22 23 24 25 26 27 28 29 30

  month=0 1 2 3 4 5 6 7 8 9 10 11
  wday=5
  wom=0 1 3 4 5
  woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 
44 45 46 47 48 49 50 51 52 53

  mins=0
  --> Run Level=Incremental
  hour=19
  mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
22 23 24 25 26 27 28 29 30

  month=0 1 2 3 4 5 6 7 8 9 10 11
  wday=1 2 3 4
  wom=0 1 2 3 4 5
  woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 
44 45 46 47 48 49 50 51 52 53

  mins=0

--
Schedule {
  Name = "Weekly-virtualfull-3"
## ex 1st 2nd 3rd 4th 5th
Run = VirtualFull 3rd fri at 19:00
Run = Incremental 1st 2nd 4th 5th 6th fri at 19:00
Run = Incremental mon-thu at 19:00
}
--
I think a bacula bug. Or I did not understand everything and it 
starts at 0




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot


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








--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users