Skip to content

Commit f718c56

Browse files
authored
Reword docs on snapshot repo backup (#115062)
Because of #93575 it's not sufficient to mark repositories with `readonly: true` while taking a backup. The only safe way to avoid writes is to completely unregister them.
1 parent 5e381a3 commit f718c56

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/reference/snapshot-restore/register-repository.asciidoc

+5-4
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,11 @@ that you have an archive copy of its contents that you can use to recreate the
248248
repository in its current state at a later date.
249249

250250
You must ensure that {es} does not write to the repository while you are taking
251-
the backup of its contents. You can do this by unregistering it, or registering
252-
it with `readonly: true`, on all your clusters. If {es} writes any data to the
253-
repository during the backup then the contents of the backup may not be
254-
consistent and it may not be possible to recover any data from it in future.
251+
the backup of its contents. If {es} writes any data to the repository during
252+
the backup then the contents of the backup may not be consistent and it may not
253+
be possible to recover any data from it in future. Prevent writes to the
254+
repository by unregistering the repository from the cluster which has write
255+
access to it.
255256

256257
Alternatively, if your repository supports it, you may take an atomic snapshot
257258
of the underlying filesystem and then take a backup of this filesystem

0 commit comments

Comments
 (0)