You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leo currently does database backups on start, but can't do one while running. This is due to the way the database driver is handled between using the sequelize ORM (which, at least last I checked, can't run a direct backup procedure) vs. better-sqlite3 which can.
In order to perform a backup while running, other subsystems that touch the database would need to be suspended, the sequelize DB connection will need to be ended, the backup performed using better-sqlite3, then the original connection restored and other systems re-enabled.
Or... something totally different that I didn't think of or using new features of things I haven't looked at in years.
Also, obviously this needs appropriate permissions handling.
The text was updated successfully, but these errors were encountered:
Leo currently does database backups on start, but can't do one while running. This is due to the way the database driver is handled between using the
sequelize
ORM (which, at least last I checked, can't run a direct backup procedure) vs.better-sqlite3
which can.In order to perform a backup while running, other subsystems that touch the database would need to be suspended, the
sequelize
DB connection will need to be ended, the backup performed usingbetter-sqlite3
, then the original connection restored and other systems re-enabled.Or... something totally different that I didn't think of or using new features of things I haven't looked at in years.
Also, obviously this needs appropriate permissions handling.
The text was updated successfully, but these errors were encountered: