Skip to content

Commit 936539f

Browse files
authored
Merge pull request #79285 from anarnold97/OADP-4502-Restore-failure-due-to-restore-wait-init-container
OADP-4502: adding snippet to cover the .snapshot on some NFS servers
2 parents 6ecf39d + 2ad443a commit 936539f

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ The `CloudStorage` API supports manually creating a `BackupStorageLocation` obje
2626

2727
* If your cloud provider does not support snapshots or if your applications are on NFS data volumes, you can create backups by using Kopia or Restic. See xref:../../../backup_and_restore/application_backup_and_restore/backing_up_and_restoring/oadp-backing-up-applications-restic-doc.adoc#oadp-backing-up-applications-restic-doc[Backing up applications with File System Backup: Kopia or Restic].
2828
29+
include::snippets/pod-volume-restore-snapshot-read-only.adoc[]
30+
2931
[IMPORTANT]
3032
====
3133
The {oadp-first} does not support backing up volume snapshots that were created by other software.

backup_and_restore/application_backup_and_restore/backing_up_and_restoring/oadp-backing-up-applications-restic-doc.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ In OADP version 1.2 and earlier, you can only use Restic for backing up applicat
3636
FSB does not support backing up `hostPath` volumes. For more information, see link:https://velero.io/docs/v1.12/file-system-backup/#limitations[FSB limitations].
3737
====
3838

39+
include::snippets/pod-volume-restore-snapshot-read-only.adoc[]
40+
3941
.Prerequisites
4042

4143
* You must install the OpenShift API for Data Protection (OADP) Operator.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Text snippet included in the following modules:
2+
//
3+
// * openshift-docs/backup_and_restore/application_backup_and_restore/backing_up_and_restoring/backing-up-applications.adoc
4+
// * openshift-docs/backup_and_restore/application_backup_and_restore/backing_up_and_restoring/oadp-backing-up-applications-restic-doc.adoc
5+
6+
:_mod-docs-content-type: SNIPPET
7+
8+
[IMPORTANT]
9+
.PodVolumeRestore fails with a `.../.snapshot: read-only file system` error
10+
====
11+
The `.../.snapshot` directory is a snapshot copy directory, which is used by several NFS servers. This directory has read-only access by default, so Velero cannot restore to this directory.
12+
13+
Do not give Velero write access to the `.snapshot` directory, and disable client access to this directory.
14+
15+
[role="_additional-resources"]
16+
.Additional resources
17+
18+
* link:https://docs.netapp.com/us-en/ontap/enable-snapshot-dir-access-task.html#enable-or-disable-client-access-to-snapshot-copy-directory-by-editing-a-share[Enable or disable client access to Snapshot copy directory by editing a share]
19+
* link:https://docs.portworx.com/portworx-backup-on-prem/reference/restore-with-fb#prerequisites-for-backup-and-restore-with-flashblade[Prerequisites for backup and restore with FlashBlade]
20+
====

0 commit comments

Comments
 (0)