You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/public_cloud/containers_orchestration/managed_kubernetes/backing-up-cluster-with-velero/guide.en-gb.md
+29-5Lines changed: 29 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Backing-up an OVHcloud Managed Kubernetes cluster using Velero
3
3
excerpt: Find out how to back-up an OVHcloud Managed Kubernetes cluster using Velero, including Persistent Volumes
4
-
updated: 2025-03-07
4
+
updated: 2025-09-04
5
5
---
6
6
7
7
## Objective
@@ -141,7 +141,9 @@ Install Velero, including all prerequisites, into the cluster and start the depl
141
141
> [!primary]
142
142
>
143
143
> Starting with version 1.14 the plugin-for-csi is integrated in Velero. You can simply remove it from the install example if you install version 1.14 or newer. For upgrading an older version follow the upgrade notes: [Upgrade-to-1.17](https://velero.io/docs/v1.17/upgrade-to-1.17/).
144
+
>
144
145
> Please refer to those links to check Velero's plugins comptability: [velero-plugin-for-aws](https://github.com/vmware-tanzu/velero-plugin-for-aws?tab=readme-ov-file#compatibility) and [velero-plugin-for-csi](https://github.com/vmware-tanzu/velero-plugin-for-csi?tab=readme-ov-file#compatibility).
146
+
>
145
147
146
148
Example for 1.13 and older:
147
149
@@ -158,6 +160,11 @@ velero install \
158
160
159
161
Example for 1.14 and newer:
160
162
163
+
> [!primary]
164
+
>
165
+
> Starting with Velero 1.14, the CSI plugin is included by default. It is no longer necessary to add it explicitly in the velero install command. This simplifies the command, so only the cloud provider plugin (e.g., AWS) needs to be specified.
166
+
>
167
+
161
168
```bash
162
169
velero install \
163
170
--features=EnableCSI \
@@ -296,8 +303,13 @@ kubectl get pod -n nginx-example
296
303
297
304
Create a backup of the namespace:
298
305
306
+
> [!primary]
307
+
>
308
+
> Since Velero 1.14, CSI VolumeSnapshots are used by default for Persistent Volumes. The `--snapshot-move-data` flag is no longer required for CSI-backed volumes and can be safely omitted. It is only needed for non-CSI volumes backed up with Restic.
### Verifying Velero is working with Persistent Volumes
400
412
413
+
> [!primary]
414
+
>
415
+
> **Node Agents (Restic):** Node agents are mainly used for file-level backups or for Persistent Volumes that are **not managed by CSI**.
416
+
>
417
+
> For Persistent Volumes managed via CSI (as with OVHcloud Managed Kubernetes), CSI VolumeSnapshots are the recommended method. In this case, there is **no need to deploy Node Agents**, as backups and restores are handled natively by the CSI snapshot mechanism.
418
+
>
419
+
401
420
To verify that Velero is working correctly with Volume Snapshots of Persistent Volumes, let's test with one example deployment:
402
421
403
422
Copy the following code into a `nginx-example-with-pv.yml` file:
Copy file name to clipboardExpand all lines: pages/public_cloud/containers_orchestration/managed_kubernetes/backing-up-cluster-with-velero/guide.fr-fr.md
+29-5Lines changed: 29 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Backing-up an OVHcloud Managed Kubernetes cluster using Velero
3
3
excerpt: Find out how to back-up an OVHcloud Managed Kubernetes cluster using Velero, including Persistent Volumes
4
-
updated: 2025-03-07
4
+
updated: 2025-09-04
5
5
---
6
6
7
7
## Objective
@@ -141,7 +141,9 @@ Install Velero, including all prerequisites, into the cluster and start the depl
141
141
> [!primary]
142
142
>
143
143
> Starting with version 1.14 the plugin-for-csi is integrated in Velero. You can simply remove it from the install example if you install version 1.14 or newer. For upgrading an older version follow the upgrade notes: [Upgrade-to-1.17](https://velero.io/docs/v1.17/upgrade-to-1.17/).
144
+
>
144
145
> Please refer to those links to check Velero's plugins comptability: [velero-plugin-for-aws](https://github.com/vmware-tanzu/velero-plugin-for-aws?tab=readme-ov-file#compatibility) and [velero-plugin-for-csi](https://github.com/vmware-tanzu/velero-plugin-for-csi?tab=readme-ov-file#compatibility).
146
+
>
145
147
146
148
Example for 1.13 and older:
147
149
@@ -158,6 +160,11 @@ velero install \
158
160
159
161
Example for 1.14 and newer:
160
162
163
+
> [!primary]
164
+
>
165
+
> Starting with Velero 1.14, the CSI plugin is included by default. It is no longer necessary to add it explicitly in the velero install command. This simplifies the command, so only the cloud provider plugin (e.g., AWS) needs to be specified.
166
+
>
167
+
161
168
```bash
162
169
velero install \
163
170
--features=EnableCSI \
@@ -296,8 +303,13 @@ kubectl get pod -n nginx-example
296
303
297
304
Create a backup of the namespace:
298
305
306
+
> [!primary]
307
+
>
308
+
> Since Velero 1.14, CSI VolumeSnapshots are used by default for Persistent Volumes. The `--snapshot-move-data` flag is no longer required for CSI-backed volumes and can be safely omitted. It is only needed for non-CSI volumes backed up with Restic.
### Verifying Velero is working with Persistent Volumes
400
412
413
+
> [!primary]
414
+
>
415
+
> **Node Agents (Restic):** Node agents are mainly used for file-level backups or for Persistent Volumes that are **not managed by CSI**.
416
+
>
417
+
> For Persistent Volumes managed via CSI (as with OVHcloud Managed Kubernetes), CSI VolumeSnapshots are the recommended method. In this case, there is **no need to deploy Node Agents**, as backups and restores are handled natively by the CSI snapshot mechanism.
418
+
>
419
+
401
420
To verify that Velero is working correctly with Volume Snapshots of Persistent Volumes, let's test with one example deployment:
402
421
403
422
Copy the following code into a `nginx-example-with-pv.yml` file:
0 commit comments