Example 10121

Backup Strategy

Backup schedule and retention policy.

{
source: {
type: "mongodb"
host: "primary.db.internal"
databases: [
"summer"
"entry"
]
}

# 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: 13
weekly: 9
monthly: 6
}

destination: {
type: "gcs"
path: "s3://backups-interchange"
encryption: true
compression: "lz4"
}
}

See also