Top
Enterprise Postgres 18 for Kubernetes Reference

1.2.7 FEPBackup Child Custom Resource Parameters

Field

Default

Details

apiVersion

fep.fujitsu.io/v1

Fixed

kind

FEPBackup

Fixed

metadata.name

<clustername>

Enter the CR name.

spec.pgbackrestParams

"|"

"|" It is fixed, and the parameter set in pgbackrest.conf is described from the line below.

spec.schedule.num

Integer

Number of schedules to set

The maximum number of backup schedules is 5.

spec.scheduleN.schedule

-

Write the date and time of the Nth schedule in cron format.

The date and time is UTC time.

spec.scheduleN.type

full/incr

full: Perform a full backup (Back up the contents of the database cluster).

incr — Perform an incremental backup (Back up only the database cluster files that were changed to the last backup migration).

spec.preScript

" "

This parameter must specify a default value.

spec.postScript

" "

This parameter must specify a default value.


Example of FEPBackup CR created

apiVersion: fep.fujitsu.io/v1
kind: FEPBackup
metadata:
  name: fepcluster-backup
spec:
  schedule:
    num : 2
  schedule1:
    schedule : "0 0 1 * *"
    type : "full"
  schedule2:
    schedule : "0 0 1-6 * *"
    type : "incr"
  preScript: " "
  postScript: " "
  pgbackrestParams: |
    # define custom pgbackrest.conf parameters below to override defaults.
    [global]
    repo1-retention-full = 30
    repo1-retention-full-type = time
...