Kodi Community Forum
Migrating scraper database - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Migrating scraper database (/showthread.php?tid=368631)



Migrating scraper database - hexadecagram - 2022-06-16

Hi all,

I just bought a shiny new RPi box to install Kodi on and without thinking about it, ran a scraper on my substantially large collection of media to completion.
Is it possible to migrate the database to MySQL without re-scanning and generating excessive amounts of duplicate traffic to TMDB once more?


RE: Migrating scraper database - Karellen - 2022-06-16

(2022-06-16, 10:14)hexadecagram Wrote: Is it possible to migrate the database to MySQL without re-scanning and generating excessive amounts of duplicate traffic to TMDB once more?
Yes. A couple of setup steps first.

1. Create your Movie Set Information Folder. No need to add the movie set subfolders to it, that will happen in the next step... https://kodi.wiki/view/Movie_set_information_folder
2. Install Artwork Dump and run it to download your original artwork to the, tv show folders, movie folders and movie set folder... https://forum.kodi.tv/showthread.php?tid=360078
3. Once the above is completed. Export your library to Separate Files. DO NOT export artwork when asked... https://kodi.wiki/view/Import-export_library/Video

Now with the local artwork and nfo files, you have a permanent backup of your database that can be used to rebuild your library quickly.
You should get into the habit of running an export to refresh the nfo files to backup any changes you make to your library.
But while you use Artwork Dump (set it to automatically download after scraping), never export artwork from Kodi.