Moving Watched list form one SQL DB to another
#1
Hi there,

Ive just setup a new SQL DB on a Synology NAS. I Still have the old SQL DB and want to export just the watched list from one to the other. Anyone know how to do this?

Thanks ; )
Reply
#2
you can dump the whole database down and then push it back up to your new server

(Assuming Kodi Helix RC running on Windows)

Run on the source mysql server:

Code:
mysql\bin\mysqldump -h source-db-ip-address -u xbmc -pxbmc myvideos90 > "D:\xbmcbackups\myvideos90.sql"
mysql\bin\mysqldump -h source-db-ip-address -u xbmc -pxbmc mymusic48 > "D:\xbmcbackups\mymusic48.sql"

then:

Code:
mysql\bin\mysql -h synology-ip-address -u xbmc -pxbmc MyVideos90 < "D:\xbmcbackups\myvideos90.sql"
mysql\bin\mysql -h synology-ip-address -u xbmc -pxbmc MyMusic48 < "D:\xbmcbackups\mymusic48.sql"

This will restore an exact copy of your database to the NAS.

If you want to keep the watched status only, have a look at the trakt addon.
4x R-Pi4b LibreELEC v10 | Aeon Nox: SiLVO | Flirc cases
Storage Synology DS411 | 4 x WD RED 6TB
Software MariaDB 10.4.19 | Filebot | Ember Media Manager
wiki (wiki) | First time user (wiki) | Debug_Log (wiki) | mysql (wiki) | artwork (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
Moving Watched list form one SQL DB to another0