`flyctl volume download`

Previously asked at Downloading mounted volume (or downloading files from the volume) with a somewhat unsatisfactory set of workarounds.

I’d love to be able to take a volume (perhaps a fork of my running volume) and download it in one command, as a way of duplicating the state I’m keeping on fly.io into a local system. I can see a few ways to do this:

  1. Direct support in flyctl volume for a download function.
  2. Fork the volume, then attach it to a purpose-built container that has tailscale running in it and some simple script to pull the data out.
  3. Add a download function to the application I’m running (golink) so there’a a special endpoint that pulls down the data I want.

Any other suggestions for doing this? I have to believe that “make a local backup of a remotely mounted volume” is a common desire.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.