Backups
To create a one-time backup, create a SolvioClusterSnapshot
resource:
apiVersion: solvio.io/v1
kind: SolvioClusterSnapshot
metadata:
name: "solvio-a7d8d973-0cc5-42de-8d7b-c29d14d24840-snapshot-timestamp"
labels:
cluster-id: "a7d8d973-0cc5-42de-8d7b-c29d14d24840"
customer-id: "acme-industries"
spec:
cluster-id: "a7d8d973-0cc5-42de-8d7b-c29d14d24840"
retention: 1h
You can also create a recurring backup with the SolvioClusterScheduledSnapshot
resource:
apiVersion: solvio.io/v1
kind: SolvioClusterScheduledSnapshot
metadata:
name: "solvio-a7d8d973-0cc5-42de-8d7b-c29d14d24840-snapshot-timestamp"
labels:
cluster-id: "a7d8d973-0cc5-42de-8d7b-c29d14d24840"
customer-id: "acme-industries"
spec:
scheduleShortId: a7d8d973
cluster-id: "a7d8d973-0cc5-42de-8d7b-c29d14d24840"
# every hour
schedule: "0 * * * *"
retention: 1h
To resture from a backup, create a SolvioClusterRestore
resource:
apiVersion: solvio.io/v1
kind: SolvioClusterRestore
metadata:
name: "solvio-a7d8d973-0cc5-42de-8d7b-c29d14d24840-snapshot-restore-01"
labels:
cluster-id: "a7d8d973-0cc5-42de-8d7b-c29d14d24840"
customer-id: "acme-industries"
spec:
source:
snapshotName: solvio-a7d8d973-0cc5-42de-8d7b-c29d14d24840-snapshot-timestamp
namespace: solvio-private-cloud
destination:
name: solvio-a7d8d973-0cc5-42de-8d7b-c29d14d24840
namespace: solvio-private-cloud
Note that with all resources cluster-id
and customer-id
label must be set to the values of the corresponding SolvioCluster
resource.