1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/oadp-about-disable-node-agent-dpa.adoc
Shruti Deshpande df08472502 OADP-6250-mod-docs-aws
Signed-off-by: Shruti Deshpande <shdeshpa@redhat.com>
2025-07-10 08:05:45 +00:00

47 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-aws.adoc
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-azure.adoc
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-gcp.adoc
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-mcg.adoc
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc
:_mod-docs-content-type: PROCEDURE
[id="oadp-about-disable-node-agent-dpa_{context}"]
= Disabling the node agent in DataProtectionApplication
[role="_abstract"]
If you are not using `Restic`, `Kopia`, or `DataMover` for your backups, you can disable the `nodeAgent` field in the `DataProtectionApplication` custom resource (CR). Before you disable `nodeAgent`, ensure the {oadp-short} Operator is idle and not running any backups.
.Procedure
. To disable the `nodeAgent`, set the `enable` flag to `false`. See the following example:
+
.Example `DataProtectionApplication` CR
[source, yaml]
----
# ...
configuration:
nodeAgent:
enable: false # <1>
uploaderType: kopia
# ...
----
<1> Disables the node agent.
. To enable the `nodeAgent`, set the `enable` flag to `true`. See the following example:
+
.Example `DataProtectionApplication` CR
[source, yaml]
----
# ...
configuration:
nodeAgent:
enable: true # <1>
uploaderType: kopia
# ...
----
<1> Enables the node agent.
You can set up a job to enable and disable the `nodeAgent` field in the `DataProtectionApplication` CR. For more information, see "Running tasks in pods using jobs".