Have a rolling backup of the user's beets db? How big is the average beets database? #5339
Replies: 1 comment
-
Since beets uses sqlite, the database is just a file. Copying it copies the entirety of the database at that time. As long as you aren't literally running a beets command at that moment, you can just copy and paste it through any interface and it's a backup. I think forcing backups on the user in weird ways would be a bad thing to do, especially since we don't actually have any way to properly back it up in the technical sense without some user input on the process A backup in terms of beets code would just be a |
Beta Was this translation helpful? Give feedback.
-
I don't see any backup related code in the codebase. The user shouldn't rely on us for backups, but on the other hand, how hard would it be to make
library_backup.db
by just copying the db ahead of certain actions? Even easier would be copying each time beets is run, perhaps with a date check so it only copies once per day. With 522 albums I have a 72 MB library. That's 140 KB per album with some plugins and stuff.Beta Was this translation helpful? Give feedback.
All reactions