File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,21 @@ Schedules are removed automatically when the configmaps are deleted.
194
194
195
195
PGO Scheduler uses the ` UTC ` timezone for all schedules.
196
196
197
+ ### Schedule Expression Format
198
+
199
+ Schedules are expressed using the following rules:
200
+
201
+ ```
202
+ Field name | Mandatory? | Allowed values | Allowed special characters
203
+ ---------- | ---------- | -------------- | --------------------------
204
+ Seconds | Yes | 0-59 | * / , -
205
+ Minutes | Yes | 0-59 | * / , -
206
+ Hours | Yes | 0-23 | * / , -
207
+ Day of month | Yes | 1-31 | * / , - ?
208
+ Month | Yes | 1-12 or JAN-DEC | * / , -
209
+ Day of week | Yes | 0-6 or SUN-SAT | * / , - ?
210
+ ```
211
+
197
212
### pgBackRest Schedules
198
213
199
214
pgBackRest schedules require pgBackRest enabled on the cluster to backup. The scheduler
Original file line number Diff line number Diff line change @@ -226,12 +226,12 @@ before you do a restore.
226
226
227
227
#### Automated full pgBackRest backups every Sunday at 1 am
228
228
229
- pgo create schedule mycluster --schedule="0 1 * * 7 " \
229
+ pgo create schedule mycluster --schedule="0 1 * * SUN " \
230
230
--schedule-type=pgbackrest --pgbackrest-backup-type=full
231
231
232
- #### Automated diff pgBackRest backups every Sunday at 1 am
232
+ #### Automated diff pgBackRest backups every Monday-Saturday at 1 am
233
233
234
- pgo create schedule mycluster --schedule="0 1 * * 7 " \
234
+ pgo create schedule mycluster --schedule="0 1 * * MON-SAT " \
235
235
--schedule-type=pgbackrest --pgbackrest-backup-type=diff
236
236
237
237
#### Automated pgBaseBackup backups every day at 1 am
You can’t perform that action at this time.
0 commit comments