mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// backup_and_restore/application_backup_and_restore/oadp-self-service/oadp-self-service-troubleshooting.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="oadp-self-service-troubleshoot-nabsl-same-ns_{context}"]
|
|
= Resolving error NonAdminBackupStorageLocation not found in the namespace
|
|
|
|
[role="_abstract"]
|
|
Resolve the `NonAdminBackupStorageLocation not found in the namespace` error by using a backup storage location that belongs to the same namespace as your backup. This helps ensure successful backup operations.
|
|
|
|
Consider the following scenario of a namespace `admin` backup:
|
|
|
|
* You have created two `NonAdminBackupStorageLocations` (NABLs) custom resources (CRs) in two different namespaces, for example, `nabsl-1` in `namespace-1` and `nabsl-2` in `namespace-2`.
|
|
* You are taking a backup of `namespace-1` and use `nabsl-2` in the `NonAdminBackup` (NAB) CR.
|
|
|
|
In this scenario, after creating the NAB CR, you get the following error. The cause of the error is that the NABSL CR does not belong to the namespace that you are trying to back up.
|
|
|
|
[source, yaml]
|
|
----
|
|
apiVersion: oadp.openshift.io/v1alpha1
|
|
kind: NonAdminBackup
|
|
...
|
|
status:
|
|
conditions:
|
|
- lastTransitionTime: "2025-02-20T10:13:00Z"
|
|
message: 'NonAdminBackupStorageLocation not found in the namespace: NonAdminBackupStorageLocation.oadp.openshift.io
|
|
"nabsl2" not found'
|
|
reason: InvalidBackupSpec
|
|
status: "False"
|
|
type: Accepted
|
|
phase: BackingOff
|
|
----
|
|
|
|
.Procedure
|
|
|
|
* Use the NABSL that belongs to the same namespace that you are trying to back up.
|
|
+
|
|
In this scenario, you must use `nabsl-1` in the NAB CR to back up `namespace-1`.
|
|
|