Issue with Restoring Database and Moving Audio Files on Roon Rock Server (ref#9E3X85)

What’s happening?

· Something else

How can we help?

· I'm having trouble adding music to my library

Describe the issue

I have just set up a Roon Rock server and installed a 2 TB SSD for the audio files in my NUC NUC8i7BEH2. ROCK runs on a 500 GB M2 SSD.

The server is running very well so far. However, when restoring the database and moving audio files to the Rock server, I keep running into a problem that I have not yet been able to solve. I would very much like to have my audio files in the "Roon Optimized Core Kit Internal Storage" folder so that the metadata is retained. Unfortunately, I have not been able to do this so far.

Creating and restoring my backup from a Mac Roon server works fine if I relink the restored path to the audio files to my Synology NAS, for example, or if I connect the "Roon Optimized Core Kit Internal Storage" via the network (Roon accesses the internal SSD via the network in this case).

However, as soon as I delete the path to the audio files that is restored by the backup and activate the existing "Roon Optimized Core Kit Internal Storage" folder, all audio files are reimported and my metadata is immediately gone.

It seems that you can only relink the audio path restored by the backup, but using the default audio path in ROCK always leads to a rebuild of the database.

Is there any way I can restore my database so that I can access my audio files in the "Roon Optimized Core Kit Internal Storage" folder without having to go through the network?

Describe your network setup

I use Ubiquiti UniFi switches and the UDM Pro as a router

Hello @andreas_rudin,

Thanks for reaching out with your report. When moving Roon Servers and files between the Servers, one important aspect to keep in mind is that Roon should not see two copies of the same files, otherwise it can lose previously saved metadata. To view the proper procedure on how to move/relocate these files please see:

If you still need assistance after following the article, please let us know.

Thank you very much for your answer. I have read and worked through these instructions many, many times, but unfortunately this procedure does not work in this particular case.

I have done everything exactly as described in these instructions:

Steps
If you are moving files between locations, drives, or machines, then it is best to avoid letting Roon see 2 copies of the same file at the same time:

  1. Be sure you have a current backup of your database before proceeding
  2. In Roon’s Settings > Storage, remove all old storage folders that contain the files that are being relocated.
  3. For performance reasons, if you are adding a large amount of music (1000’s of tracks), quit Roon (or stop RoonServer on Nucleus). The best experience will come from letting Roon look at the folders when the files have settled.
  4. Move/Copy the files to the new location
  5. If you stopped Roon in Step 3, start it again.
  6. In Roon’s Settings > Storage, add the new watched folder location.

However, step 6 cannot be carried out as described, as the “Roon Optimized Core Kit Internal Storage” folder is always there. It can neither be added, as described in the instructions, nor deleted. It can only be deactivated.

When restoring a backup, it is therefore unavoidable that the “Roon Optimized Core Kit Internal Storage” folder is already there. In addition, there is the audio path that was saved with the backup (I previously had the Roon server on a Mac and on a Windows computer). After a restore, I have the following options:

  1. I deactivate the “Roon Optimized Core Kit Internal Storage” folder and re-link the path restored by the backup to the internal hard drive via the network (see attached screenshot). This allows me to access the audio data on the internal hard drive via a detour.
  2. I delete the audio path restored by the backup and activate the “Roon Optimized Core Kit Internal Storage” folder. However, this rebuilds the database. Unfortunately, this solution does not work.

Since I assumed that your instructions would work, I tried them with different storage locations. For example, I also put the audio path on a NAS and proceeded as follows:

  1. I reformatted the “Roon Optimized Core Kit Internal Storage” folder via the web interface so that this folder does not contain any audio files. I then created a backup as described in step 1.
  2. I then removed the audio path to the NAS. However, as I have already written, the “Roon Optimized Core Kit Internal Storage” folder cannot be removed. So it stays.
  3. As described in step three, I then stopped the Roon server via the web interface.
  4. Then I copied the audio files from my NAS into the “Roon Optimized Core Kit Internal Storage” folder.
  5. I then restarted the Roon server via the web interface.
  6. The “Roon Optimized Core Kit Internal Storage” folder is already there. It cannot be deleted or added again. The result: All files are read in again and my metadata is gone.

I would be very happy if you could tell me what I need to do differently so that I can use the “Roon Optimized Core Kit Internal Storage” folder without losing my metadata.

Hi @andreas_rudin,

Can you share screenshots of your storage folder post backup restore?

Are you able to edit and update the existing file path to reflect your current local library directory?

Hello Benjamin
Thank you for your message. Sorry for my late response. I was on vacation and couldn’t access my Roon server.
I have now restored my old Macmini Roon server from a backup and taken screenshots of the storage folder (see pictures).
I can edit and relink the Macmini path, but not the predefined storage location of Rock (Roon Optimized Core Kit Internal Storage). I can only deactivate this. However, it would be great if I could use this for my library.

ROCK Storage (cannot be relinked):

My old library path on the Macmini (re-linkable):

Many thanks for the support.