Jellyfin Forum
library.db Fails to Copy/Backup - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: library.db Fails to Copy/Backup (/t-library-db-fails-to-copy-backup)



library.db Fails to Copy/Backup - KodiUser1138 - 2024-05-12

Creating a full backup of my JellyFin programdata folder to update to 10.9.0 and I continue to get an error while attempting to copy the library.db file. Assuming this is the main file to log the entire database it both needs to be copied but also hopefully isn't corrupt in some manner. All on a Windows 10 PC.


RE: library.db Fails to Copy/Backup - TheDreadPirate - 2024-05-12

Did you turn off jellyfin before making the backup?


RE: library.db Fails to Copy/Backup - KodiUser1138 - 2024-05-12

(2024-05-12, 01:22 AM)TheDreadPirate Wrote: Did you turn off jellyfin before making the backup?

I did not. Does JF running prevent this file from being duplicated?

Why yes. Yes it does. Thanks for the tip! (but just the tip)


RE: library.db Fails to Copy/Backup - TheDreadPirate - 2024-05-12

If Jellyfin has been idle for a bit, it is probably fine to make a backup of a running DB. If the DB is in use or the journal hasn't been flushed back to the DB, bad things can happen when you try to start from the backup.