Skip to content

Commit bf9651f

Browse files
OADP-2736
1 parent f17e85b commit bf9651f

File tree

2 files changed

+37
-16
lines changed

2 files changed

+37
-16
lines changed

modules/oadp-installing-oadp-rosa-sts.adoc

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Restic is not supported in the OADP on ROSA with AWS STS environment. Ensure the
1616

1717
.Prerequisites
1818

19-
* A ROSA OpenShift Cluster with the required access and tokens. For instructions, see the procedure in _Preparing AWS credentials_.
19+
* A {openshift-rosa} cluster with the required access and tokens. For instructions, see the procedure in "Preparing AWS credentials". If you plan to use two different clusters for backing up and restoring, you need to prepare AWS credentials, including `ROLE_ARN`, for each cluster.
2020
2121
2222
.Procedure
@@ -74,7 +74,7 @@ spec:
7474
EOF
7575
----
7676

77-
. Create the `DataProtectionApplication resource`, which is used to configure the connection to the storage where the backups and volume snapshots will be stored:
77+
. Create the `DataProtectionApplication` resource, which is used to configure the connection to the storage where the backups and volume snapshots are stored:
7878
+
7979
[source,terminal]
8080
----
@@ -100,28 +100,49 @@ spec:
100100
defaultPlugins:
101101
- openshift
102102
- aws
103-
restic:
103+
nodeAgent: <1>
104104
enable: false
105+
uploaderType: restic
105106
snapshotLocations:
106107
- velero:
107108
config:
108-
credentialsFile: /tmp/credentials/openshift-adp/cloud-credentials-credentials <1>
109-
enableSharedConfig: "true" <2>
110-
profile: default <3>
111-
region: ${REGION} <4>
109+
credentialsFile: /tmp/credentials/openshift-adp/cloud-credentials-credentials <2>
110+
enableSharedConfig: "true" <3>
111+
profile: default <4>
112+
region: ${REGION} <5>
112113
provider: aws
113114
EOF
114115
----
115-
116-
+
117-
<1> The `credentialsFile` is the mounted location of the bucket credential on the pod.
118-
<2> The `enableSharedConfig` allows the `snapshotLocations` to share or reuse the credential defined for the bucket.
119-
<3> Assume your Velero default for your `profile: default`.
120-
<4> Specify `region` as your AWS region. This must be the same as the cluster region.
116+
<1> See the first note below.
117+
<2> The `credentialsFile` field is the mounted location of the bucket credential on the pod.
118+
<3> The `enableSharedConfig` field allows the `snapshotLocations` to share or reuse the credential defined for the bucket.
119+
<4> Use the profile name set in the AWS credentials file.
120+
<5> Specify `region` as your AWS region. This must be the same as the cluster region.
121121
+
122+
You are now ready to backup and restore OpenShift applications, as described in the link:https://docs.openshift.com/container-platform/4.11/backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.html[OADP documentation].
123+
122124
[NOTE]
123125
====
124126
The `enable` parameter of `restic` is set to `false` in this configuration because OADP does not support Restic in ROSA environments.
127+
128+
If you are using OADP 1.2, replace this configuration:
129+
[source,terminal]
130+
131+
----
132+
nodeAgent:
133+
enable: false
134+
uploaderType: restic
135+
----
136+
with the following:
137+
138+
[source,terminal]
139+
----
140+
restic:
141+
enable: false
142+
----
125143
====
126-
+
127-
You are now ready to backup and restore OpenShift applications, as described in the link:https://docs.openshift.com/container-platform/4.11/backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.html[OADP documentation].
144+
145+
[NOTE]
146+
====
147+
If you want to use two different clusters for backing up and restoring, the two clusters must have identical AWS S3 storage names in both the cloudstorage CR and the OADP `DataProtectionApplication` configuration.
148+
====

rosa_backing_up_and_restoring_applications/backing-up-applications.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ include::modules/oadp-installing-oadp-rosa-sts.adoc[leveloffset=+1]
2525
2626
[id="rosa-backing-up-applications-known-issues"]
2727
== Known issues
28-
.Restic is not supported or recommended
28+
.Restic, Kopia, and DataMover are not supported or recommended
2929

3030
* link:https://issues.redhat.com/browse/OADP-1054[CloudStorage: openshift-adp-controller-manager crashloop seg fault with Restic enabled]
3131
* link:https://issues.redhat.com/browse/OADP-1057[Cloudstorage API: CSI Backup of an app with internal images partially fails with plugin panicked error]

0 commit comments

Comments
 (0)