Transfer pod volume (/workspace) data to Network volume
I have created a pod and have data on /workspace folder. After that I created network volume. I want to transfer the data to network volume so that I can use that volume and spin up another pod using that. How to achieve that. Please help.
2 Replies
just did the same, there are many ways to do that, depending on if your POD has FUSE or not (most likely not). ChatGPT can guide you through, just tell him explicitely you are on runpod.
The official "template" answer from runpod's customer service would be this one:
1) Create a network volume, either in the same or a different data center than where your existing pod is. You can do this by navigating to Manage > Storage in your account menu.
2) Once the network volume is created, deploy a new pod and select the network volume you just created. This will mount the network volume to your new pod.
3) You can then use the runpodctl command line tool to transfer data from your old pod to the new one. You can find a guide on how to use runpodctl - https://github.com/runpod/runpodctl/blob/main/README.md
4) Alternatively, you can also use croc to transfer files between pods. You can find a guide on how to use croc https://github.com/schollz/croc?tab=readme-ov-file#install
(did not work for me)
GitHub
runpodctl/README.md at main · runpod/runpodctl
🧰 | RunPod CLI for pod management. Contribute to runpod/runpodctl development by creating an account on GitHub.
GitHub
GitHub - schollz/croc: Easily and securely send things from one com...
Easily and securely send things from one computer to another :crocodile: :package: - GitHub - schollz/croc: Easily and securely send things from one computer to another :package: