Comment on rootless backup or rootless podman volumes?
sainth@lemmy.world 1 day ago
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
Railcar8095@lemmy.world 1 day ago
Thanks! it was a mounted volume in this case (just beside the location of the compose file), but it’s still good to know!
sainth@lemmy.world 1 day ago
Ah, in that case you will probably need to go into the container to do the backup. I avoid mounted volumes.