Quantcast

Problem with schedule week of month ( wom )

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem with schedule week of month ( wom )

Olivier DELESTRE
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

========================================================
Olivier DELESTRE
DSI - Pôle infrastructures 
Université de Rouen-Normandie
Bat.16-IRESE-B-Place Emile Blondel
76821 MONT-SAINT-AIGNAN CEDEX
Accès: http://goo.gl/cYgtX
Tel: 02.35.14.64.63
Fax: 02.35.14.64.64
GSM: 06.07.10.18.35

Mail fonc: [hidden email]
Mail pers: [hidden email]
========================================================

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with schedule week of month ( wom )

Kern Sibbald

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

========================================================
Olivier DELESTRE
DSI - Pôle infrastructures 
Université de Rouen-Normandie
Bat.16-IRESE-B-Place Emile Blondel
76821 MONT-SAINT-AIGNAN CEDEX
Accès: http://goo.gl/cYgtX
Tel: 02.35.14.64.63
Fax: 02.35.14.64.64
GSM: 06.07.10.18.35

Mail fonc: [hidden email]
Mail pers: [hidden email]
========================================================


------------------------------------------------------------------------------
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with schedule week of month ( wom )

Olivier DELESTRE
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with schedule week of month ( wom )

Kern Sibbald

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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with schedule week of month ( wom )

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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Loading...