Skip to content

Commit

Permalink
Update backupconfig yaml
Browse files Browse the repository at this point in the history
Signed-off-by: pritamdas99 <pritam@appscode.com>
  • Loading branch information
pritamdas99 committed Feb 11, 2025
1 parent 730b365 commit c83803d
Showing 1 changed file with 51 additions and 15 deletions.
66 changes: 51 additions & 15 deletions data/products/kubestash/addons/elasticsearch.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,66 @@
"description": "You can store your backed up data into various storage services. Kubetash supports AWS S3, Minio, Rook, Google Cloud Storage, Azure Blob Storage, OpenStack Swift, DigitalOcean Spaces, Blackbaze B2 and REST server as backend. You can also use Kubernetes persistent volumes as backend."
}
],
"example": {
"example":{
"apiVersion": "core.kubestash.com/v1alpha1",
"kind": "BackupConfiguration",
"metadata": {
"name": "elasticsearch-backup",
"namespace": "demo"
},
"spec": {
"schedule": "*/5 * * * *",
"repository": {
"name": "demo-repo"
},
"target": {
"ref": {
"apiVersion": "appcatalog.appscode.com/v1alpha1",
"kind": "AppBinding",
"name": "sample-opensearch"
}
"apiGroup": "appcatalog.appscode.com",
"kind": "AppBinding",
"name": "elasticsearch-appbinding",
"namespace": "demo"
},
"retentionPolicy": {
"name": "keep-last-5",
"keepLast": 5,
"prune": true
}
"backends": [
{
"name": "gcs-backend",
"storageRef": {
"namespace": "demo",
"name": "gcs-storage"
},
"retentionPolicy": {
"name": "demo-retention",
"namespace": "demo"
}
}
],
"sessions": [
{
"name": "frequent-backup",
"scheduler": {
"schedule": "*/5 * * * *",
"jobTemplate": {
"backoffLimit": 1
}
},
"repositories": [
{
"name": "gcs-elasticsearch-repo",
"backend": "gcs-backend",
"directory": "/elasticsearch",
"encryptionSecret": {
"name": "encrypt-secret",
"namespace": "demo"
}
}
],
"addon": {
"name": "elasticsearch-addon",
"tasks": [
{
"name": "logical-backup",
"params": {
"databases": "playground"
}
}
]
}
}
]
}
}
}

0 comments on commit c83803d

Please sign in to comment.