Template authoring
Backups
Declare what a template's instances can archive.
The backups object rounds out a production-quality template: it declares which container paths
users can archive.
"backups": {
"enabled": true,
"targets": [
{
"id": "world",
"label": "World",
"containerPath": "/data/world"
},
{
"id": "full",
"label": "Everything",
"containerPath": "/data"
}
]
}Prop
Type
Each target needs an id (stable identifier), a human label, and an absolute containerPath.
Users pick targets by label when backing up manually or defining
backup policies.
Design tip: offer one focused target for the irreplaceable data (the world) and one broad target for full recovery (the whole data dir). Focused targets make frequent scheduled backups cheap; broad ones make disaster recovery simple.