Skip to content

Commit de35000

Browse files
Backport: Copy vcluster/manage/backup-restore/velero.mdx to vcluster_versioned_docs/version-0.30.0/manage/backup-restore/velero.mdx (#1543)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 778a12b commit de35000

File tree

1 file changed

+9
-9
lines changed
  • vcluster_versioned_docs/version-0.30.0/manage/backup-restore

1 file changed

+9
-9
lines changed

vcluster_versioned_docs/version-0.30.0/manage/backup-restore/velero.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar_class_name: host-nodes private-nodes standalone
99

1010
You can use [Velero](https://velero.io/) to back up virtual clusters.
1111

12-
Ensure your cluster supports [volume snapshots](https://kubernetes.io/docs/concepts/storage/volume-snapshots/) to allow Velero to backup persistent volumes and persistent volume claims that save the virtual cluster state. Alternatively, you can use [Velero's restic integration](https://velero.io/docs/v1.9/restic/) to back up the virtual cluster state.
12+
Ensure your cluster supports [volume snapshots](https://kubernetes.io/docs/concepts/storage/volume-snapshots/) to allow Velero to backup persistent volumes and persistent volume claims that save the virtual cluster state. Alternatively, you can use [Velero's file system backup](https://velero.io/docs/main/file-system-backup/) with the Node Agent to back up the virtual cluster state.
1313

1414
### Back up a vCluster
1515

@@ -81,23 +81,23 @@ You can use Velero inside vCluster to protect your workloads and data. To use Ve
8181
2. After enabling `hostpath-mapper`, install the Velero CLI (as described above), connect to your vCluster, and install Velero inside the virtual cluster:
8282

8383
```bash title="Velero inside the virtual cluster"
84-
velero install --provider <provider> --bucket <bucket_name> --secret-file <your_secret_file> --plugins velero/velero-plugin-for-<provider>:<semver> --use-restic
84+
velero install --provider <provider> --bucket <bucket_name> --secret-file <your_secret_file> --plugins velero/velero-plugin-for-<provider>:<semver> --use-node-agent
8585
```
8686

8787
:::note
88-
Replace `provider`, `bucket_name`, `secret-file`, and other placeholders with the correct values for your environment.
88+
Replace `provider`, `bucket_name`, `secret-file`, and other placeholders with the correct values for your environment. Velero uses Kopia as the default file system backup tool.
8989
:::
9090

9191
3. After installation is complete, check the status of the Velero resources:
9292

9393
```bash title="Verify the status of the Velero resources"
9494
$ kubectl get all -n velero
9595
NAME READY STATUS RESTARTS AGE
96-
pod/restic-5szkb 1/1 Running 0 118s
96+
pod/node-agent-5szkb 1/1 Running 0 118s
9797
pod/velero-75c5479dfd-4x7sl 1/1 Running 0 118s
9898

99-
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
100-
daemonset.apps/restic 1 1 1 1 1 <none> 118s
99+
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
100+
daemonset.apps/node-agent 1 1 1 1 1 <none> 118s
101101

102102
NAME READY UP-TO-DATE AVAILABLE AGE
103103
deployment.apps/velero 1/1 1 1 119s
@@ -106,10 +106,10 @@ You can use Velero inside vCluster to protect your workloads and data. To use Ve
106106
replicaset.apps/velero-75c5479dfd 1 1 1 119s
107107
```
108108

109-
4. Create a backup using `restic`:
109+
4. Create a backup using file system backup:
110110

111-
```bash title="Create a backup with restic"
112-
velero backup create test1 --default-volumes-to-restic
111+
```bash title="Create a backup with file system backup"
112+
velero backup create test1 --default-volumes-to-fs-backup
113113
```
114114

115115
5. Wait for the backup to complete. Once complete, you should see the following output:

0 commit comments

Comments
 (0)