Backup and update the document

How to backup the documents and restore them if I change my mind after updating them?
I want to make an update from the current data with some new fields. The content of the document is huge and if I want to reverse the update, I don't want to insert them from scratch.
I am aware of the Snapshot system, but I am not sure if I make a snapshot and then update the contents, can I later go back to the snapshot and retrieve the none updated contents?

I am using the local linux version of ELK [elasticsearch-8.13.2-linux-x86_64]
Please address the solution in complete keywords that I can find it in the documentation.
Thanks

That's correct. If you take a snapshot before the update, then you can restore the index in the state it was before the update.

Thanks for the response @dadoonet
Do you have any suggestions on the best method to make a snapshot in the local service?
I found this on the official website but that is focused on the cloud services. The other page is more comprehensive but as I am a newbie I am not sure if it is fit to my question.

Basically:

And if you decide to cancel this:

If you are blocked at one of the steps, please share what is the issue or what you don't understand from the documentation. We'll be happy to help.

I'd recommend to practice this first on a non production cluster.

1 Like