Page 1 of 1

Is it possible to transfer the database to a new server?

PostPosted: Tue Dec 31, 2024 11:22 pm
by Derz
I plan on upgrading my Serviio environment to new hardware soon. Both the old and new are Windows OS. I plan transfer the disk drive containing my media as the same drive letter, and then install Serviio on the new box. Then..

I can just configure Serviio's libraries to to point to the drive and have Serviio rebuild it's database from scratch. But other information in the library (last watched episodes in series, perhaps other info as well) would be lost. I will also have to configure all the clients. There might be other surprises.

Certainly others have gone through this process. What can be done to minimize the the upgrade effort and retain as much of the existing environment as possible?

Re: Is it possible to transfer the database to a new server?

PostPosted: Wed Jan 01, 2025 2:43 am
by atc98092
I seem to recall this being asked in the past. Assuming the exact same version of Serviio is on both computers, you should in theory be able to simply copy the entire C:\Program Files\Serviio\library folder from the original PC to the new one. I would make sure the Serviio service is not running while the transfer is done. Stop the service in the Windows Services applet to make certain nothing is running while you copy it over. Then start it in the same place. Remember your media file locations need to be identical on both computers or there's no chance of this working. So if your Serviio shared folder location is F:\media on the original PC it has to be the same on the new one.

If it works, you're all done. If it doesn't work, then no harm done and you have to just start over with little time lost.

Re: Is it possible to transfer the database to a new server?

PostPosted: Sat Jan 18, 2025 8:01 pm
by Derz
Thank you Dan,

I just wanted to note for others who might have the issue in the future that your suggestion worked perfectly.
As a result..

    There was no need to rescan the media files/internet for metadata, saving considerable time. Mostly non-interactive time.

    All the series last episode watched information was retained. That saved even more time what would have been interactive.
-Ed