Example 14723

Backup Strategy

Backup schedule and retention policy.

{
source: {
type: "mongodb"
host: "db.internal"
databases: [
"comestible"
"toaster"
]
}

# 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: 11
weekly: 12
monthly: 15
}

destination: {
type: "local"
path: "s3://backups-secrecy"
encryption: true
compression: "gzip"
}
}

See also