Migrate ElasticSearch Database

Started by gw3013, July 02, 2024, 08:42:56 PM

Previous topic - Next topic
We tested Zenarmor on old hardware and after deciding we want to continue with it, I am deploying it on new machines. I am wondering if anyone has migrated an ElasticSearch DB from one physical machine to another and what the best method for this is, as to not lose data.

Thanks!

Hi,

Actually, there is no official option to migrate elasticsearch data. How many days were you keeping the data on old FW?


Clonezilla, then apply some tweaks for the new hardware.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

Otherwise, cloning a Linux/FreeBSD root partition can be done with tar. Getting the bootloader to work is more complicated, but not impossible.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

After some discussion, we decided to move to an external DB on a VM.

Thanks for the replies!

Out of curiosity, what kind of data were you trying to keep?