Skip to content
Discussion options

You must be logged in to vote

Your DB09_HOST value is shaped correctly. The problem appears to be the mount and filesystem permissions, not the db-backup configuration.

Removing :ro only makes the Docker mount read-write; it does not change Unix permissions. Your listing shows:

-rw-r--r-- 1 root root ... bytestash.db

Unless db-backup is running as root, that file is still not writable by the process.

There is a second SQLite-specific issue: mounting only the database file hides any adjacent -wal, -shm, or -journal files and does not provide a writable parent directory. SQLite may need to create or access those files even when the main operation is a backup.

Mount the database directory instead of the individual file:

v…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brhahlen
Comment options

Answer selected by brhahlen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants