Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Scheduled database backups #3508

Closed
joelang1699 opened this issue Dec 20, 2017 · 3 comments
Closed

[FEATURE] Scheduled database backups #3508

joelang1699 opened this issue Dec 20, 2017 · 3 comments

Comments

@joelang1699
Copy link

Is it possible to build in an automatic database backup function?

@joelang1699 joelang1699 changed the title [FEATURE] - Request [FEATURE] - Request - DB Auto backup Dec 20, 2017
@p0psicles
Copy link
Contributor

Just copy the .db files. It's sqlite.

@labrys
Copy link
Contributor

labrys commented Dec 20, 2017

@p0psicles we've actually had a lot of people ask for this in the past, might not be a bad idea to implement in the future

@joelang1699 are you aware that the databases are backed up every time Medusa updates through the UI?

One issue with this is the database is in active use so Medusa would need to restart to backup the database. When Medusa restarts, the queue scheduling restarts too. This can cause issues with scheduled tasks not triggering when expected or even not at all. The scheduler would need to be revamped before this could be implemented.

@labrys labrys changed the title [FEATURE] - Request - DB Auto backup [FEATURE] Scheduled database backups Dec 20, 2017
@labrys
Copy link
Contributor

labrys commented Dec 20, 2017

Closing this as it has been added to the #282 Master Feature Request List to track all feature requests. Discussion specific to this feature can continue in this thread

@labrys labrys closed this as completed Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants