Add docs for private cloud and premium tier

This commit is contained in:
Bastian Hofmann
2024-09-05 15:17:16 +02:00
parent 9c3ae0dbb2
commit f7f74b0afa
18 changed files with 1969 additions and 20 deletions
@@ -0,0 +1,60 @@
---
title: Backups
weight: 4
---
# Backups
To create a one-time backup, create a `QdrantClusterSnapshot` resource:
```yaml
apiVersion: qdrant.io/v1
kind: QdrantClusterSnapshot
metadata:
name: "qdrant-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 `QdrantClusterScheduledSnapshot` resource:
```yaml
apiVersion: qdrant.io/v1
kind: QdrantClusterScheduledSnapshot
metadata:
name: "qdrant-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 `QdrantClusterRestore` resource:
```yaml
apiVersion: qdrant.io/v1
kind: QdrantClusterRestore
metadata:
name: "qdrant-a7d8d973-0cc5-42de-8d7b-c29d14d24840-snapshot-restore-01"
labels:
cluster-id: "a7d8d973-0cc5-42de-8d7b-c29d14d24840"
customer-id: "acme-industries"
spec:
source:
snapshotName: qdrant-a7d8d973-0cc5-42de-8d7b-c29d14d24840-snapshot-timestamp
namespace: qdrant-private-cloud
destination:
name: qdrant-a7d8d973-0cc5-42de-8d7b-c29d14d24840
namespace: qdrant-private-cloud
```
Note that with all resources `cluster-id` and `customer-id` label must be set to the values of the corresponding `QdrantCluster` resource.