Restoring database from one Synology model to another

Roon Core Machine

Synology DS918+ and Synology DS920+

Networking Gear & Setup Details

Connected Audio Devices

Nothing.

Number of Tracks in Library

About 80,000

Description of Issue

I have successfully copied my files from a Synology DS918+ to a DS920+ and I’ve backed up the database from the DS918+. After copying that database to the DS920+, I saw the following issue.

The folder structure of the backup shows the DS918+ and the folder structure of the DS920+ shows the DS920+, so the folder structure of the backup doesn’t mesh with the folder structure of the DS920+.

How do I get the DS920+ to correctly accept the backup of the DS918+?

Thanks in advance to anyone who can help me out.

Joel

Is all your music seen, with the same edits, play counts, playslist inclusions? If so, then you can just disable the old locations (or even remove them if you know everything is accounted for).

Generally, when I have a new storage location, instead of adding the new device as a new storage location, I edit the old location to be the new location. This is done using the “edit this folder” link in blue.

adsafds

If you have locations where the contents do not map out directly, then you have to use a new Storage location. This may result in the music being treated as new by Roon.

First and most of all, Dan, thanks for taking the time to try to help me out.

No, play counts and such were not retained after the restore.

Are you saying I should try to edit the folder locations to match those of the previous device and try restoring again?

And if that doesn’t work, it’s possible that my favorites, etc. will be lost on the new device?

Thanks again very much.

Joel

Hey @Joel_Alperson,

Ben here with the support team, thanks for taking the time to write in!

@Rugby is steering you in the right direction here. Were you able to edit the original storage locations? I see from your account that you were able to get your local content added to your core.

I’ll be on standby for your reply. :+1:

Ben,

It’s very nice of you to offer your help.

I’m going to take another shot at this.

Could I please trouble you, step-by-step, to tell me what to do to export the database from one machine and import it to another, including not having an issue with using one license while using one machine at a time for the purpose of this export/import process?

Thanks very much.

Joel

Hey @Joel_Alperson,

Here is a breakdown on getting Roon setup on a NAS (note that running Roon on a NAS altogether was put together by a fellow community member!) :
https://roononnas.org/en/roon-on-nas/#:~:text=for%20a%20backup.-,Installation,-ASUSTOR

All you’ll need to do is reauthorize your old core prior to setting up your new core. You should get a prompt when setting up the new core regarding this. Certainly let me know if this isn’t the case. Thanks!

I’m on it, Benjamin.

Thanks very much and I’ll keep you posted.

Joel

Ben,

Please look at the two attached images and you’ll see what happens when I import from the DS918+ to the DS920+.

The images are from my DS920+ after I’ve completed the database import process.

It seems, that the folder structure for some of the folders is the same and yet they’re kept as distinct.


I’m obviously screw up something, I just don’t know what it is.

Any ideas or advice?

Thanks very much.

Joel

Did you try my advice? You should

  1. Not have added the new locations.

  2. You should have edited the old location as
    I indicated prior to point to the new location.

Try this as a test

  1. Go the the 3 dot menu on the satashare location on the 920 click it and choose disable.

  2. Under the satashare storage line for the 918 click the blue “edit this folder”. Point this folder to the satashare on the 920.

  3. Check an album stored in that location to verify that it now has the old play counts.

1 Like

Thanks once again for the help.

I’m going to be out of town for a while and will take this up, partly remotely and fully when I return. I appreciate how you and Ben have been so generous with your time.

I’m not giving up.

Thanks again.

Joel

1 Like

OK.

I’m finally back from some extensive travels.

When you talk about editing the original storage locations to match those of the new NAS, are you only talking about the primary folders or are you talking about subfolders, etc.?

In other words, how precisely must the folders on the original NAS match those of the newer NAS?

Thanks in advance for your help.

Joel

An update: I matched the primary folders between the two NAS’, copying the backup from the old NAS to the new NAS with a USB drive.

No luck.

I think I had read that it’s best to upload the backup to Dropbox and then download it to the new NAS or copy directly between the NAS devices.

Any thoughts about that?

In any event, I’m still working on a solution.

Joel

And yet another update.

I was able to import the Roon backup from NAS-to-NAS.

Still no success.

What you see from my screen capture is what I can’t resolve.

So far, it seems that the backup from the Synology DS918+, because the a sub-folder is named “Synology DS918+”, is inconsistent with the NAS (DS920+) I’m importing to. But that’s just a guess on my part and may not be the issue.

I’ll be grateful for any helpful suggestions.

Joel

Hey @Joel_Alperson,

Thanks for the update! I was hoping to get confirmation on if you had tried @Rugby’s suggestion above, specifically:

Or:

To confirm, is your local library still stored on the DS918+?

Thanks!

Yes, Benjamin, my local library (and correct database) is located on the DS918+.

And the local library is located on the DS920+ as well, if I’m understanding you correctly?

Are you saying I should create network folder shares from the DS918+ to the DS920+?

I want to be clear on what you mean when you say “point”.

Thanks very much for your help.

Joel

adsfad

This is where your music was.

You now have a DS920+ and the presumably, the music is stored there in the same folders, i.e. DS920+\Music\PCM352.

When you click the “edit this folder” in the pic above for the Ds918, you are given the opportunity to browse to the same folder on the 920 and save it as the new location for those files.

You would then repeat the process for each location.

Working on it now.

I’ll let you know.

Thanks very much for sticking with me on this issue.

I’m very grateful.

Joel

Well, at long last, to Ben and Daniel, all I can say is thank you and thank you again.

I think I’ve finally reached my promised land.

I’m sorry I was so slow to figure out what I needed to do but both of you guys were fantastic about being patient with me over weeks to help me get the resolution I needed.

I have one remaining question. There’s one folder that appeared on my DS920+ but that I can’t find on the DS918+ (image attached). How would that happen?

Once more, thanks very much to both of you for your tremendous help.

Joel

1 Like

Hey @Joel_Alperson,

I’m so glad to hear it!

This is an interesting question indeed! Based on the file path you’ve shared above, is Roonserver>Music the broader subfolder that holds your library? If you have already added each subfolder within Roonserver>Music, then you can remove the disabled watched folder in question (if enabled it may actually create duplicate files!)

However, if the above path holds a different set of your local library we can certainly take a closer look. Let me know!

1 Like

All of the subfolders have been added, Ben, so I’ll remove the folder I’ve asked about.

One more time, thanks very much for your excellent help.

Joel

2 Likes