Repository navigation
Configuration options for dbbackup - #4190
Conversation
|
@matmair due to the change to the |
matmair
left a comment
There was a problem hiding this comment.
I would not recommend running migrations without a backup as that might destroy an instance permanently. You are the maintainer, if you think this is in the best intrest of the user/project I wont stand against it.
The installer just calls the invoke task so no changes required. Maybe a migration that adds the backup option for exsisting installs would be good. Or a warning that this default changed could be sent to all superusers. |
fair, I have swapped it to be "on" by default, but users can override if they really want. |
|
Hi, the problem was not during "invoke update", but on regular startup of Inventree server. Updating went completely OK. |
Closes #4180
This PR adds some setup / configuration options for database backup.
Additionally, backup is no longer "forced" during the "invoke update" step. This allows the update step to be run without backup, in situations where the user might not want this, or where backup is misconfigured.
On some (lower end) systems the "backup" task can stall for a long period of time which can cause worker timeout.
Ref: #4179