Example 13525

Backup Strategy

Backup schedule and retention policy.

{
source: {
type: "filesystem"
host: "localhost"
databases: [
"comestible"
"shipper"
]
}

# Backup schedule
schedule: {
full: "0 2 * * 0" # weekly Sunday 2am
incremental: "0 2 * * 1-6" # daily except Sunday
snapshot: "0 */4 * * *" # every 4 hours
}

retention: {
daily: 10
weekly: 4
monthly: 11
}

destination: {
type: "sftp"
path: "s3://backups-cutlet"
encryption: true
compression: "zstd"
}
}

See also