

1·
1 year agoAh, in that case you will probably need to go into the container to do the backup. I avoid mounted volumes.


Ah, in that case you will probably need to go into the container to do the backup. I avoid mounted volumes.


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
I’m only familiar with CLI tools but at least for smaller directories diff works well. Say you have a backup directory and you want to see how it differs from a source directory:
diff -rq /source/directory /backup/directoryAnother trick is to use find to look for a unique file to see where, if at all, it’s backed up:
find /backup/directory -name unique-file-name.jpg