← Back to context

Comment by mongol

5 years ago

I tried to do that with a Firefox SQLite database files but it had an exclusive lock.

This is the case for any application that constantly writes to their dbs, so you usually run your own application/utility on them when the "parent" application isn't running.

You can usually work around that by creating a copy - I run "cp /path/to/locked.db /tmp" all the time for this.

  • Make sure to also copy locked.db-wal if it's present. (Is there a better way to do all this? I feel like there really ought to be a better way.)