It seems there is an API for live backups of SQLite 
(https://www.sqlite.org/backup.html), so in theory it is possible with 
other tools.

The link https://www.sqlite.org/howtocorrupt.html mentions:

Systems that run automatic backups in the background might try to make a 
> backup copy of an SQLite database file while it is in the middle of a 
> transaction. The backup copy then might contain some old and some new 
> content, and thus be corrupt.


I agree, the best and simplest approach is to stop Mayan and then do the 
backup. 

On Thursday, June 22, 2017 at 11:34:53 PM UTC-4, Hans Fritz wrote:
>
> Can it potentially corrupt the backup if the mayan-edms docker container 
> isn't stopped while the backup is being made? I'm using the sqlite3 
> datastore.
>
> My instincts tell me that it can get corrupted if Mayan writes to the 
> sqlite database while it's being archived, but I'd like to make sure.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to