Docs: note about snapshot version compatibility (#20896)
It is important that folks understand that snapshot/restore isn't for archiving. It is appropriate for backup and disaster recovery but not for archival over long periods of time because of version incompatibility. Closes #20866
This commit is contained in:
parent
e71c30c71d
commit
3bba7dbe07
|
@ -1,9 +1,20 @@
|
||||||
[[modules-snapshots]]
|
[[modules-snapshots]]
|
||||||
== Snapshot And Restore
|
== Snapshot And Restore
|
||||||
|
|
||||||
The snapshot and restore module allows to create snapshots of individual indices or an entire cluster into a remote
|
The snapshot and restore module allows to create snapshots of individual
|
||||||
repository. At the time of the initial release only shared file system repository was supported, but now a range of
|
indices or an entire cluster into a remote repository like shared file system,
|
||||||
backends are available via officially supported repository plugins.
|
S3, or HDFS. These snapshots are great for backups because they can be restored
|
||||||
|
relatively quickly but they are not archival because they can only be restored
|
||||||
|
to versions of Elasticsearch that can read the index. That means that:
|
||||||
|
|
||||||
|
* A snapshot of an index created in 2.x can be restored to 5.x.
|
||||||
|
* A snapshot of an index created in 1.x can be restored to 2.x.
|
||||||
|
* A snapshot of an index created in 1.x can **not** be restored to 5.x.
|
||||||
|
|
||||||
|
To restore a snapshot of an index created in 1.x to 5.x you can restore it to
|
||||||
|
a 2.x cluster and use <<reindex-from-remote,reindex-from-remote>> to rebuild
|
||||||
|
the index in a 5.x cluster. This is as time consuming as restoring from
|
||||||
|
archival copies of the original data.
|
||||||
|
|
||||||
[float]
|
[float]
|
||||||
=== Repositories
|
=== Repositories
|
||||||
|
@ -516,5 +527,3 @@ well as the global metadata were readable. The restore operation requires the gl
|
||||||
the index level blocks are ignored during restore because indices are essentially recreated during restore.
|
the index level blocks are ignored during restore because indices are essentially recreated during restore.
|
||||||
Please note that a repository content is not part of the cluster and therefore cluster blocks don't affect internal
|
Please note that a repository content is not part of the cluster and therefore cluster blocks don't affect internal
|
||||||
repository operations such as listing or deleting snapshots from an already registered repository.
|
repository operations such as listing or deleting snapshots from an already registered repository.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue