← 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. 3 comments mongol Reply TheRealPomax 5 years ago 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. simonw 5 years ago You can usually work around that by creating a copy - I run "cp /path/to/locked.db /tmp" all the time for this. pjscott 5 years ago 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.)
TheRealPomax 5 years ago 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.
simonw 5 years ago You can usually work around that by creating a copy - I run "cp /path/to/locked.db /tmp" all the time for this. pjscott 5 years ago 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.)
pjscott 5 years ago 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.)
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.)