LiteDB
LiteDB copied to clipboard
Is it safe to copy litedb file when it is used by a process
Can you clarify if it is safe to copy the Litedb file when the process is running? I need a safe way to backup litedb files while my website is running.
If it is not safe to copy (if there is a possibility it produces a corrupt source or destination file) I think we need a backup solution for it in the .net library
Hi @HolyOne, it's not safe to copy the datafiles while the database is open. Currently there is no such option for a hot backup, it's something already requested though. It's on the feature request list for next LiteDB versions.