Migration of File storage to PostgreSQL storage backend for HashiCorp

Migrate an existing HashiCorp Vault instance to a new instance that uses File storage to PostgreSQL as the storage backend.

I have tried taking a snapshot of data from existing vault setup i am not able to take the backup getting below error.

**vault operator raft snapshot save /tmp/backup.snap**

Error taking the snapshot: Error making API request.

URL: GET http://127.0.0.1:8200/v1/sys/storage/raft/snapshot
Code: 404. Errors:

* 1 error occurred:
	* unsupported path

Is there a way which i can take backup and migrate to my new file storage .

1 Like