Skip to content

Commit

Permalink
add application-level
Browse files Browse the repository at this point in the history
Signed-off-by: Ashraful Haque Tani <[email protected]>
  • Loading branch information
AshrafulHaqueToni committed Sep 30, 2024
1 parent cc9b766 commit 179e88a
Show file tree
Hide file tree
Showing 4 changed files with 206 additions and 168 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: core.kubestash.com/v1alpha1
kind: BackupConfiguration
metadata:
name: sample-mysql-backup
name: sample-singlestore-backup
namespace: demo
spec:
target:
apiGroup: kubedb.com
kind: MySQL
kind: Singlestore
namespace: demo
name: sample-mysql
name: sample-singlestore
backends:
- name: gcs-backend
storageRef:
Expand All @@ -24,14 +24,14 @@ spec:
jobTemplate:
backoffLimit: 1
repositories:
- name: gcs-mysql-repo
- name: gcs-singlestore-repo
backend: gcs-backend
directory: /mysql
directory: /singlestore
encryptionSecret:
name: encrypt-secret
namespace: demo
addon:
name: mysql-addon
name: singlestore-addon
tasks:
- name: manifest-backup
- name: logical-backup
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
apiVersion: core.kubestash.com/v1alpha1
kind: RestoreSession
metadata:
name: restore-sample-mysql
name: restore-sample-singlestore
namespace: demo
spec:
manifestOptions:
restoreNamespace: dev
mySQL:
singlestore:
db: true
dataSource:
repository: gcs-mysql-repo
repository: gcs-singlestore-repo
snapshot: latest
encryptionSecret:
name: encrypt-secret
namespace: demo
addon:
name: mysql-addon
name: singlestore-addon
tasks:
- name: logical-backup-restore
- name: manifest-restore
Loading

0 comments on commit 179e88a

Please sign in to comment.