docker-db-backup icon indicating copy to clipboard operation
docker-db-backup copied to clipboard

SQLite backup?

Open lockheed opened this issue 1 year ago • 1 comments

I am trying to setup SQLite backups by using the example docker-compose, and the description from the manual, but this description does not make any sense.

DB01_HOST Enter the full path to DB file e.g. /backup/db.sqlite3

You mean full path to DB file on the specific container? But how would db-backup know what container it is, if the name is not given? You mean full path to DB file on the host filesystem? But 1.) what if the container is not using bind mounts, and - more importantly - 2.) how db-backup is supposed to access the file if it has no mounts other than the backup dir?

Please, explain and fix the readme.

lockheed avatar May 22 '24 21:05 lockheed

sqlite involves interacting directly with the file containing the database. So the only solution is to create mount points in the database container and also in the docker-db-backup container.

jonisapp avatar Jul 18 '24 14:07 jonisapp