To enable the built-in Data Mover, you must include the CSI plugin and enable the node agent in the DataProtectionApplication
custom resource (CR). The node agent is a Kubernetes daemonset that hosts data movement modules. These include the Data Mover controller, uploader, and the repository.
Example DataProtectionApplication
manifest
apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
name: dpa-sample
spec:
configuration:
nodeAgent:
enable: true (1)
uploaderType: kopia (2)
velero:
defaultPlugins:
- openshift
- aws
- csi (3)
defaultSnapshotMoveData: true
defaultVolumesToFSBackup: (4)
featureFlags:
- EnableCSI
# ...
1 |
The flag to enable the node agent. |
2 |
The type of uploader. The possible values are restic or kopia . The built-in Data Mover uses Kopia as the default uploader mechanism regardless of the value of the uploaderType field. |
3 |
The CSI plugin included in the list of default plugins. |
4 |
In OADP 1.3.1 and later, set to true if you use Data Mover only for volumes that opt out of fs-backup . Set to false if you use Data Mover by default for volumes. |