Skip to content

Commit 64affc4

Browse files
committed
Relax snapshot repo backup docs
It's now ok to mark a repository as `readonly: true` while taking a backup, so this commit reinstates the docs that say this. Relates elastic/elasticsearch#93575 Reverts elastic/elasticsearch#115062 Reverts elastic/elasticsearch#115071 Relates elastic/elasticsearch#128296 Relates elastic/elasticsearch#129040
1 parent a78630c commit 64affc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deploy-manage/tools/snapshot-and-restore/elastic-cloud-hosted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Note that most of the cleanup operations executed by this endpoint are automatic
124124

125125
You may wish to make an independent backup of your repository, for instance so that you have an archive copy of its contents that you can use to recreate the repository in its current state at a later date.
126126

127-
You must ensure that {{es}} does not write to the repository while you are taking the backup of its contents. If {{es}} writes any data to the repository during the backup then the contents of the backup may not be consistent and it may not be possible to recover any data from it in future. Prevent writes to the repository by unregistering the repository from the cluster which has write access to it.
127+
You must ensure that {{es}} does not write to the repository while you are taking the backup of its contents. If {{es}} writes any data to the repository during the backup then the contents of the backup may not be consistent and it may not be possible to recover any data from it in future. Prevent writes to the repository by unregistering the repository from the cluster which has write access to it, or by registering it with `readonly: true`.
128128

129129
Alternatively, if your repository supports it, you may take an atomic snapshot of the underlying filesystem and then take a backup of this filesystem snapshot. It is very important that the filesystem snapshot is taken atomically.
130130

deploy-manage/tools/snapshot-and-restore/self-managed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Note that most of the cleanup operations executed by this endpoint are automatic
128128

129129
You may wish to make an independent backup of your repository, for instance so that you have an archive copy of its contents that you can use to recreate the repository in its current state at a later date.
130130

131-
You must ensure that {{es}} does not write to the repository while you are taking the backup of its contents. If {{es}} writes any data to the repository during the backup then the contents of the backup may not be consistent and it may not be possible to recover any data from it in future. Prevent writes to the repository by unregistering the repository from the cluster which has write access to it.
131+
You must ensure that {{es}} does not write to the repository while you are taking the backup of its contents. If {{es}} writes any data to the repository during the backup then the contents of the backup may not be consistent and it may not be possible to recover any data from it in future. Prevent writes to the repository by unregistering the repository from the cluster which has write access to it, or by registering it with `readonly: true`.
132132

133133
Alternatively, if your repository supports it, you may take an atomic snapshot of the underlying filesystem and then take a backup of this filesystem snapshot. It is very important that the filesystem snapshot is taken atomically.
134134

0 commit comments

Comments
 (0)