Replica sound like the way to go. Are there instructions on setting up the replica process? Regards, Kashyap
On Mon, Nov 4, 2019 at 2:00 AM Alexander Burger <a...@software-lab.de> wrote: > Hi Kashyap, > > > I've used a single file as the database as of now - (pool "tasks.db"). > What > > are my options for backing up the db file? Is it safe to copy the file > > while the app is running (I plan to keep the app running). > > I would not simply copy the DB file(s) while updates might occur. A single > transaction may modify many blocks across the file(s), so a copy at an > unlucky > moment can result in inconsistencies in the copy. > > You can then either 'lock' the DB, or (what I do usually) synchronize the > DB > permanently to a remote server (this is done via @bin/ssl locally to a > @bin/replica process remotely - needs some setup though). > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >