0

I currently have a PVC (old one, with no dynamic storage size) on my GCP architecture.

I want to migrate everything from that PVC to a new bucket. I already have the bucket up and running and ready to replace the PVC.

The thing is that I have many folders and sub-folders on my current PVC, so handly copy the folders and files will take too long and cause some errors along the way probably.

I looked into the gsutil commands, looked like it might work but I don't see a way to copy all the content of my PVC (and to keep the current organization of that PVC).

Thanks,

Pit
  • 736
  • 3
  • 17
Camk_lcbr
  • 403
  • 5
  • 10

1 Answers1

0

Ok so a few days later, a solution came up by searching how to transfer not between a PVC to a bucket but between a POD to a bucket, I found the SKBN tool which does that.

It's plugged with most of the storage systems (S2, GCS, ...) and work like a charm : skbn cp --src k8s://namespace/podName/containerName/path --dst gcs://bucketName

It also works for the other way around, copying date from a bucket to a pod, if necessary.

Camk_lcbr
  • 403
  • 5
  • 10