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

Howdy,

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.

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

Cheers
Andre

Leave a Reply

Your email address will not be published. Required fields are marked *

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