Skip to content

Commit 943e558

Browse files
authored
Merge pull request #98788 from jneczypor/OSDOCS-14502
OSDOCS-14502: Prune "Backup & Restore"
2 parents f868414 + 441f020 commit 943e558

17 files changed

+67
-44
lines changed

_topic_maps/_topic_map_rosa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ Topics:
11451145
- Name: OADP use cases
11461146
Dir: oadp-use-cases
11471147
Topics:
1148-
- Name: Backing up an application using OADP with ROSA STS
1148+
- Name: Backing up an application using OADP with ROSA (classic architecture)
11491149
File: oadp-rosa-backup-restore
11501150
# ODF not supported on ROSA Classic
11511151
# - Name: Backing up an application using OADP and ODF

_topic_maps/_topic_map_rosa_hcp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ Topics:
902902
- Name: OADP use cases
903903
Dir: oadp-use-cases
904904
Topics:
905-
- Name: Backing up an application using OADP with ROSA STS
905+
- Name: Backing up an application using OADP with ROSA
906906
File: oadp-rosa-backup-restore
907907
- Name: Backing up an application using OADP and ODF
908908
File: oadp-usecase-backup-using-odf

backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,12 @@ ifndef::openshift-rosa,openshift-rosa-hcp[]
7070
For more information, see xref:../../../backup_and_restore/application_backup_and_restore/troubleshooting/restic-issues.adoc#oadp-restic-restore-failing-psa-policy_restic-issues[Restic restore partially failing on OCP 4.15 due to changed PSA policy].
7171
endif::openshift-rosa,openshift-rosa-hcp[]
7272

73-
// TODO: Add xrefs to ROSA HCP when Operators book is added.
74-
ifndef::openshift-rosa-hcp[]
7573
[role="_additional-resources"]
7674
.Additional resources
75+
ifndef::openshift-rosa-hcp[]
7776
* xref:../../../operators/admin/olm-adding-operators-to-cluster.adoc#olm-installing-operators-from-operatorhub_olm-adding-operators-to-a-cluster[Installing Operators on clusters for administrators]
78-
// This xref is not included in the ROSA docs.
79-
ifndef::openshift-rosa[]
80-
* xref:../../../operators/user/olm-installing-operators-in-namespace.adoc#olm-installing-operators-in-namespace[Installing Operators in namespaces for non-administrators]
81-
endif::openshift-rosa[]
8277
endif::openshift-rosa-hcp[]
78+
// This xref is not included in the ROSA classic docs.
79+
ifndef::openshift-rosa,openshift-rosa-hcp[]
80+
* xref:../../../operators/user/olm-installing-operators-in-namespace.adoc#olm-installing-operators-in-namespace[Installing Operators in namespaces for non-administrators]
81+
endif::openshift-rosa,openshift-rosa-hcp[]

backup_and_restore/application_backup_and_restore/backing_up_and_restoring/restoring-applications.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ include::modules/oadp-creating-restore-hooks.adoc[leveloffset=+1]
1919
include::snippets/oadp-image-stream-tag-trigger.adoc[leveloffset=+1]
2020
====
2121

22-
//TODO: Add this xref to ROSA HCP when Images book is added.
23-
ifndef::openshift-rosa-hcp[]
2422
[role="_additional-resources"]
2523
.Additional resources
2624

2725
* xref:../../../openshift_images/triggering-updates-on-imagestream-changes.adoc#triggering-updates-on-imagestream-changes[Triggering updates on image stream changes]
28-
endif::openshift-rosa-hcp[]

backup_and_restore/application_backup_and_restore/oadp-rosa/oadp-rosa-backing-up-applications.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ include::_attributes/common-attributes.adoc[]
1212
toc::[]
1313

1414
[role="_abstract"]
15-
You can use {oadp-first} with {product-rosa} (ROSA) clusters to back up and restore application data.
15+
ifdef::openshift-rosa,openshift-rosa-hcp[]
16+
You can use {oadp-first} with {product-title} clusters to back up and restore application data.
17+
endif::openshift-rosa,openshift-rosa-hcp[]
1618

1719
ifndef::openshift-rosa,openshift-rosa-hcp[]
20+
You can use {oadp-first} with {product-rosa} (ROSA) clusters to back up and restore application data.
21+
1822
ROSA is a fully-managed, turnkey application platform that allows you to deliver value to your customers by building and deploying applications.
1923

2024
ROSA provides seamless integration with a wide range of {aws-first} compute, database, analytics, machine learning, networking, mobile, and other services to speed up the building and delivery of differentiating experiences to your customers.

backup_and_restore/application_backup_and_restore/oadp-use-cases/oadp-rosa-backup-restore.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:_mod-docs-content-type: ASSEMBLY
22
[id="oadp-rosa-backing-up-and-cleaning-example"]
3-
= Backing up workloads on OADP with ROSA STS
3+
= Backing up workloads on OADP with {product-title}
44
include::_attributes/common-attributes.adoc[]
55
:context: oadp-rosa-backing-up-and-cleaning-example
66

backup_and_restore/application_backup_and_restore/release-notes/oadp-1-4-release-notes.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,9 @@ include::modules/oadp-1-4-0-release-notes.adoc[leveloffset=+1]
2828
include::modules/oadp-backing-up-dpa-configuration-1-4-0.adoc[leveloffset=+3]
2929
include::modules/oadp-upgrading-oadp-operator-1-4-0.adoc[leveloffset=+3]
3030

31-
// TODO: Include this xref when the Operators book is added to the ROSA HCP docs.
32-
ifndef::openshift-rosa-hcp[]
3331
[role="_additional-resources"]
3432
.Additional resources
3533
* xref:../../../operators/admin/olm-upgrading-operators.adoc#olm-changing-update-channel_olm-upgrading-operators[Updating installed Operators]
36-
endif::openshift-rosa-hcp[]
3734
3835
[id="oadp-converting-dpa-to-new-version-1-4-0_{context}"]
3936
=== Converting DPA to the new version

modules/avoiding-the-velero-plugin-panic-error.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ $ oc label backupstoragelocations.velero.io <bsl_name> app.kubernetes.io/compone
4141
You can force the reconciliation by making any minor change to the DPA itself.
4242
====
4343

44-
4544
.Verification
4645

4746
* After the DPA is reconciled, confirm that the parameter has been created and that the correct registry data has been populated into it by entering the following command:

modules/installing-oadp-rosa-sts.adoc

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
= Installing the OADP Operator and providing the IAM role
88

99
[role="_abstract"]
10-
AWS Security Token Service (AWS STS) is a global web service that provides short-term credentials for IAM or federated users. {product-title} (ROSA) with {sts-short} is the recommended credential mode for ROSA clusters. This document describes how to install {oadp-first} on ROSA with {aws-short} {sts-short}.
10+
AWS Security Token Service (AWS STS) is a global web service that provides short-term credentials for IAM or federated users. {product-title} with {sts-short} is the recommended credential mode. This document describes how to install {oadp-first} on clusters with {aws-short} {sts-short}.
1111

1212

1313
[IMPORTANT]
@@ -32,12 +32,24 @@ The Data Mover feature is not currently supported in ROSA clusters. You can use
3232

3333
.Prerequisites
3434

35-
* An {product-title} ROSA cluster with the required access and tokens. For instructions, see the previous procedure _Preparing AWS credentials for OADP_. If you plan to use two different clusters for backing up and restoring, you must prepare {aws-short} credentials, including `ROLE_ARN`, for each cluster.
36-
35+
ifndef::openshift-rosa,openshift-rosa-hcp[]
36+
* An {product-title}
37+
endif::openshift-rosa,openshift-rosa-hcp[]
38+
ifdef::openshift-rosa,openshift-rosa-hcp[]
39+
* A {product-title}
40+
endif::openshift-rosa,openshift-rosa-hcp[]
41+
cluster with the required access and tokens. For instructions, see the previous procedure _Preparing AWS credentials for OADP_. If you plan to use two different clusters for backing up and restoring, you must prepare {aws-short} credentials, including `ROLE_ARN`, for each cluster.
3742

3843
.Procedure
3944

40-
. Create an {product-title} secret from your {aws-short} token file by entering the following commands:
45+
. Create
46+
ifndef::openshift-rosa,openshift-rosa-hcp[]
47+
an {product-title}
48+
endif::openshift-rosa,openshift-rosa-hcp[]
49+
ifdef::openshift-rosa,openshift-rosa-hcp[]
50+
a {product-title}
51+
endif::openshift-rosa,openshift-rosa-hcp[]
52+
secret from your {aws-short} token file by entering the following commands:
4153

4254
.. Create the credentials file:
4355
+
@@ -117,7 +129,6 @@ applog Bound pvc-351791ae-b6ab-4e8b-88a4-30f73caf5ef8 1Gi RWO
117129
mysql Bound pvc-16b8e009-a20a-4379-accc-bc81fedd0621 1Gi RWO gp3-csi 4d19h
118130
----
119131

120-
121132
. Get the storage class by running the following command:
122133
+
123134
[source,terminal]
@@ -188,10 +199,15 @@ $ cat << EOF | oc create -f -
188199
uploaderType: kopia # <3>
189200
EOF
190201
----
191-
<1> ROSA supports internal image backup. Set this field to `false` if you do not want to use image backup.
202+
ifndef::openshift-rosa,openshift-rosa-hcp[]
203+
<1> ROSA supports internal image backup. Set this field to false if you do not want to use image backup.
204+
endif::openshift-rosa,openshift-rosa-hcp[]
205+
ifdef::openshift-rosa,openshift-rosa-hcp[]
206+
<1> {product-title} supports internal image backup. Set this field to false if you do not want to use image backup.
207+
endif::openshift-rosa,openshift-rosa-hcp[]
192208
<2> See the important note regarding the `nodeAgent` attribute.
193209
<3> 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.
194-
210+
+
195211
// . Create the `DataProtectionApplication` resource, which is used to configure the connection to the storage where the backups and volume snapshots are stored:
196212

197213
.. If you are using CSI or non-CSI volumes, deploy a Data Protection Application by entering the following command:
@@ -235,7 +251,12 @@ $ cat << EOF | oc create -f -
235251
provider: aws
236252
EOF
237253
----
254+
ifndef::openshift-rosa,openshift-rosa-hcp[]
238255
<1> ROSA supports internal image backup. Set this field to false if you do not want to use image backup.
256+
endif::openshift-rosa,openshift-rosa-hcp[]
257+
ifdef::openshift-rosa,openshift-rosa-hcp[]
258+
<1> {product-title} supports internal image backup. Set this field to false if you do not want to use image backup.
259+
endif::openshift-rosa,openshift-rosa-hcp[]
239260
<2> See the important note regarding the `nodeAgent` attribute.
240261
<3> The `credentialsFile` field is the mounted location of the bucket credential on the pod.
241262
<4> The `enableSharedConfig` field allows the `snapshotLocations` to share or reuse the credential defined for the bucket.
@@ -246,7 +267,14 @@ You are now ready to back up and restore {product-title} applications, as descri
246267

247268
[IMPORTANT]
248269
====
249-
The `enable` parameter of `restic` is set to `false` in this configuration, because OADP does not support Restic in ROSA environments.
270+
The `enable` parameter of `restic` is set to `false` in this configuration, because OADP does not support Restic in
271+
ifndef::openshift-rosa,openshift-rosa-hcp[]
272+
ROSA
273+
endif::openshift-rosa,openshift-rosa-hcp[]
274+
ifdef::openshift-rosa,openshift-rosa-hcp[]
275+
{product-title}
276+
endif::openshift-rosa,openshift-rosa-hcp[]
277+
environments.
250278
251279
If you use OADP 1.2, replace this configuration:
252280

modules/oadp-1-4-0-release-notes.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ link:https://issues.redhat.com/browse/OADP-3922[OADP-3922]
2828

2929
For a complete list of all issues resolved in this release, see the list of link:https://issues.redhat.com/issues/?filter=12438505[OADP 1.4.0 resolved issues] in Jira.
3030

31-
3231
[id="known-issues-1-4-0_{context}"]
3332
== Known issues
3433

@@ -40,7 +39,6 @@ link:https://issues.redhat.com/browse/OADP-4274[OADP-4274]
4039

4140
For a complete list of all known issues in this release, see the list of link:https://issues.redhat.com/issues/?filter=12438506[OADP 1.4.0 known issues] in Jira.
4241

43-
4442
[id="upgrade-notes-1-4-0_{context}"]
4543
== Upgrade notes
4644

0 commit comments

Comments
 (0)