Migrate Vault to new OS storage type file

The current OS my standalone Vault is on is EOL.
I would like to migrate everything to a new OS.

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