backup_restore
Create timestamped backups, restore files, and manage backup lifecycle with metadata tracking and automated cleanup for data protection.
Instructions
๐พ Enhanced backup management - Timestamped backup tracking with metadata, restore capability, and intelligent cleanup. Extends existing backup patterns with enterprise-grade management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | ||
backup_id | No | ||
cleanup_options | No | ||
file_path | No | ||
metadata | No |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"enum": [
"create",
"restore",
"list",
"cleanup"
],
"type": "string"
},
"backup_id": {
"type": "string"
},
"cleanup_options": {
"properties": {
"dry_run": {
"default": false,
"type": "boolean"
},
"max_age_days": {
"default": 30,
"type": "number"
},
"max_count_per_file": {
"default": 10,
"type": "number"
}
},
"type": "object"
},
"file_path": {
"type": "string"
},
"metadata": {
"properties": {
"description": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"required": [
"action"
],
"type": "object"
}