I am using vault inside my k8s cluster. I am planning to create a new cluster and migrate the existing vault to new cluster. The existing cluster storage is file now:
storage "file" {
path = "/vault/data"
So I want to migrate all data from here to the S3 bucket or Raft storage without losing any data.
Could someone please help me?
@aram The vault which I am using, Alpine is the base image. So I can’t update apk or install consul on that pod. Beacuse sudo is not there/permission denied. So Unable to take a backup from there. Any solution for this?
You can use a AWS S3 as temporarily step to get off of that machine and onto another where you have root access to upgrade. I’d not recommend using S3 as your backend for a live server though.
There are also other remote options check the storage section for any other remote ones.