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

Automated backups not containing database files #3456

Open
DieselTech opened this issue Dec 12, 2024 · 1 comment
Open

Automated backups not containing database files #3456

DieselTech opened this issue Dec 12, 2024 · 1 comment
Labels
needs-triage Needs to be triaged by a developer and assigned a release

Comments

@DieselTech
Copy link
Collaborator

What happened?

Some users have reported that the kavita.db file is missing in backups.

At first glance it seems like if the file is in use when the backup job fires off it will not copy the database. If nothing else, we should check the backup after it is created to make sure the DB exists in it. If not, fail the job. (Bonus, send an email to the admin if they have it setup)

Ideally, we can do some testing of the sqlite vacuum function to make sure nothing gets lost or discarded, then use the function to make a copy of the database at backup time. That would create a space optimized and compacted database users would be able restore to gain some performance back over time.

What did you expect?

Backups to contain the database.

Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.

0.8.4.2 - Stable

What operating system is Kavita being hosted from?

None

If the issue is being seen on Desktop, what OS are you running where you see the issue?

None

If the issue is being seen in the UI, what browsers are you seeing the problem on?

No response

If the issue is being seen on Mobile, what OS are you running where you see the issue?

None

If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?

No response

Relevant log output

No response

Additional Notes

No response

@DieselTech DieselTech added the needs-triage Needs to be triaged by a developer and assigned a release label Dec 12, 2024
@majora2007 majora2007 moved this from In Progress to To Do in v0.8.5 - Kavita+ UX Overhaul Dec 13, 2024
@majora2007
Copy link
Member

I wasn't able to reproduce this, I have also validated a few times since this was opened and all my backups have a db file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Needs to be triaged by a developer and assigned a release
Projects
Status: Can't Reproduce
Development

No branches or pull requests

2 participants