Migrate Vault to new OS storage type file

The current OS my standalone Vault is on is EOL CentOS 8.
I would like to migrate everything to a new OS ( Oracle Linux 10).

Im having trouble finding a good reference as how to do that.
I have seen some say, just transfer the data directory and the .hcl config file.
I tried that but it doesnt seem to work. not sure if I did it correctly as the vault wanted initialization.

my plan was install vault via yum.
use SCP to copy the data folder from old OS to new OS and the config.hcl. and my url certificates

start vault and unseal.

Does this track?

Im not able to do snapshot because im not using raft.

[admin@vaultServ /]$ vault status
Key             Value




Seal Type       shamir
Initialized     true
Sealed          false
Total Shares    5
Threshold       3
Version         1.21.2
Build Date      2026-01-06T08:33:05Z
Storage Type    file
Cluster Name    vault
Cluster ID      42a767b6-558f-8990-66dc-8c7f9e87c334
HA Enabled      false

Hmm no one has done this ?

Still looking for help on if this is the correct way to perform this.

What is your storage backend? Have you considered migrating your existing cluster to Raft first or do you prefer to stay on your current backend? If you want to move to Raft, you can update your storage backend first - checkout this support doc:

Storage type is file. there is no cluster, just a single VM.