I’ve got a cluster of 3 cockroachDB nodes on my network (works great!) but have a question about switching to systemd when cockroach has been run with the manual commands in the background.
The first two nodes are running the service this way, with the manual commands in the background. I configured the third node to use systemd to manage the service.
I was going to swap the first two over to systemd today but realise that both nodes have a directory
cockroach-data in my users home directory.
On node 3 this directory is located in
Now, I’m assuming if I follow the docs to configure systemd, the cockroach-data directory will change.
Is it possible to migrate that data to the new location or will i lose it? What’s the best way to proceed?