Quickfix: Owncloud backup to a network share locks down the db file


when you want to run owncloudcmd to run a regular backup of your owncloud data and save it to a cifs/nfs share and you get an error message:

sqlite3_compile error: database is locked - on query PRAGMA quick_check;

make sure to mount it using the “nolock” option.

// /mnt/backup cifs uid=1000,gid=1000,nolock 0 0


Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.