Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite backup? #348

Open
lockheed opened this issue May 22, 2024 · 1 comment
Open

SQLite backup? #348

lockheed opened this issue May 22, 2024 · 1 comment
Labels

Comments

@lockheed
Copy link

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 lockheed added the bug label May 22, 2024
@jonisapp
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants