Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions hugo/content/Design/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,21 @@ Schedules are removed automatically when the configmaps are deleted.

PGO Scheduler uses the `UTC` timezone for all schedules.

### Schedule Expression Format

Schedules are expressed using the following rules:

```
Field name | Mandatory? | Allowed values | Allowed special characters
---------- | ---------- | -------------- | --------------------------
Seconds | Yes | 0-59 | * / , -
Minutes | Yes | 0-59 | * / , -
Hours | Yes | 0-23 | * / , -
Day of month | Yes | 1-31 | * / , - ?
Month | Yes | 1-12 or JAN-DEC | * / , -
Day of week | Yes | 0-6 or SUN-SAT | * / , - ?
```

### pgBackRest Schedules

pgBackRest schedules require pgBackRest enabled on the cluster to backup. The scheduler
Expand Down
6 changes: 3 additions & 3 deletions hugo/content/Operator CLI/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,12 @@ before you do a restore.

#### Automated full pgBackRest backups every Sunday at 1 am

pgo create schedule mycluster --schedule="0 1 * * 7" \
pgo create schedule mycluster --schedule="0 1 * * SUN" \
--schedule-type=pgbackrest --pgbackrest-backup-type=full

#### Automated diff pgBackRest backups every Sunday at 1 am
#### Automated diff pgBackRest backups every Monday-Saturday at 1 am

pgo create schedule mycluster --schedule="0 1 * * 7" \
pgo create schedule mycluster --schedule="0 1 * * MON-SAT" \
--schedule-type=pgbackrest --pgbackrest-backup-type=diff

#### Automated pgBaseBackup backups every day at 1 am
Expand Down