I’m using Vaultwarden to store passwords and other sensitive data. Vaultwarden runs in a container, where the SQLite database is hosted on a volume mapped to the host. The configuration is stored in a Quadlet file.
Obviously, this data is important to me, so I want to make a backup. I’m looking at Duplicati to do the job. I prefer to have Duplicati also running in a container.
How should I present the volume to Duplicati? Should I create a pod and have both containers in the same pod, or should I create two separate containers and map the volume twice? What are the best practices in this scenario?