Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Old Databases after multiple upgrades from xbmc to current Kodi
#1
Hi everyone,
I guess this is a very simple question however I would like to have a confirmation prior doing something wrong.
Since very long, I'm using kodi. At that time it was still xbmc.
Quite fast I moved to a central database on my synology nas.
Now since I have to migrate from MariaDB 5 to MariaDB 10, prior migration I would like to clean the databases.
I have a huge amount of old databases located in my MariaDB 5 since during upgrades of xbmc/kodi, often a brand new DB is created from the previous one.
Typically, I have 
mymusic32, mymusic48, mymusic52 up to MyMusic82
and myvideos_xbmc75 up to myvideos_xbmc121 !

Now the question
Can I freely drop the old DB like mymusic32, ....?
Or is there some preliminary actions required.

Note, all my kodis (android TV, windows PC, raspberry...) are on the same kodi version

Thanks in advance
Reply
#2
i dont believe kodi cares about lower versions, they should have been migrated

why not instead of dropping, rename them and verify kodi operates normally for a period of time, then if so you are safe and if not youve lost nothing
Reply
#3
Older databases can only be of service when (re)upgrading to a newer database. Then the contents from the older database will be copied and updated.
Other than that, you can safely remove the older databases for music and/or videos.
Reply
#4
Thanks for the hint. It was quite a good and simple one.
And also thanks for the confirmation. 
That will simplify the migration (I hope !!)
Reply
#5
You might keep one previous of video and music around just in case so you could migrate if your latest db gets corrupt, but probably better to backup the current db or periodically do separate nfo file exports.

scott s
.
Reply
#6
For reference, the database number for each Kodi version is on the wiki - databases (wiki).
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply

Logout Mark Read Team Forum Stats Members Help
Old Databases after multiple upgrades from xbmc to current Kodi0