

3·
1 year agoAs your user account, just run something like:
podman volume export VOLUME >backup.tar
Or from another machine, say you want to do a remote backup from your server:
ssh user@host podman volume export VOLUME | zstd -o backup.tar.zstd


As your user account, just run something like:
podman volume export VOLUME >backup.tar
Or from another machine, say you want to do a remote backup from your server:
ssh user@host podman volume export VOLUME | zstd -o backup.tar.zstd


Most VPNs don’t allow port forwarding, and if they do it’s a random port that changes frequently. So you’d need a method to tell people the new port. Also, you typically want to use SSL so you’ll have to use self signed certs. Though interestingly LetsEncrypt recently started testing certs for IP addresses:
https://letsencrypt.org/2025/07/01/issuing-our-first-ip-address-certificate
Ah, in that case you will probably need to go into the container to do the backup. I avoid mounted volumes.