Need help : restoring backup failed

I had to reinstall window 10 on my server, and therefore to reinstall Roon Server.

I tried to restore my backups many times (I tried different dates) but I got the same error message at about 2%, every single time: “Restore Failed. Please check your backup folder and try again”.

I tried 3 different backup locations : one on a remote desktop, one on an external USB drive, and the original backup location that was on my server’s SSD on a different partition.

I am absolutely clueless. Any help would be greatly appreciated.

Thanks.

Don’t know if this is true in your case, but here’s what I’ve run into -

Another recently opened support post definitely fits the pattern -

@support?

2 Likes

Thanks for your reply @xxx, I just hope there a solution to that. I’ve been working on this library and relying on Roon for years, so starting from scratch is not an option.

I am running a Windows 10 machine server, with an i5 prcessor and 8gb of ram, server and first backup are on Samsung Evo 960 SSD.

I tried again to check the logs. Here is a small portion a the Roon_log.txt, just after I got the “Restore Failed. Please check your backup folder and try again." error message:

08/30 08:35:42 Info: [stats] 5507mb Virtual, 299mb Physical, 86mb Managed, 1704 Handles, 69 Threads
08/30 08:35:51 Debug: drives(3152) _Update
08/30 08:35:52 Debug: drives(3152) _Update
08/30 08:35:52 Debug: drives(3152) _Update
08/30 08:35:54 Debug: drives(3152) _Update
08/30 08:35:54 Debug: [broker/filebrowser/drive] GetEntries: doing LsDir of [E:] ESPACE Samsung SSD 960 EVO 250GB, \
08/30 08:35:54 Debug: drives(3152) _Update
08/30 08:35:57 Info: [stats] 5531mb Virtual, 299mb Physical, 88mb Managed, 1720 Handles, 75 Threads
08/30 08:35:58 Debug: [broker/filebrowser/drive] GetEntries: doing LsDir of [E:] ESPACE Samsung SSD 960 EVO 250GB, \RoonBackups
08/30 08:35:59 Debug: [broker/backups] getting restore items for location: FileBrowser.Entry: [E:] ESPACE, Samsung SSD 960 EVO 250GB : \RoonBackups
08/30 08:35:59 Trace: [backup] getbackupdirs, rootdir: AttachedDir:E:\RoonBackups, machineid: 
08/30 08:35:59 Trace: [backup] [backup getrestoreitems, manifestdir: AttachedDir:E:\RoonBackups\ca26c19c-0c03-d593-2e78-4f1c3fd65ab9\xx
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Info: [broker/backups] item id: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:00 Debug: [broker/backups] success listing restore location: Result[Status=Success] (15 items)
08/30 08:36:05 Trace: [broker/backups] restore serial=ca26c19c-0c03-d593-2e78-4f1c3fd65ab9 backup=b_20210829170128_9d45bad0-c1f7-44e7-81c5-e858a0186800
08/30 08:36:05 Trace: [broker/backups] _restore_progress1: 
08/30 08:36:05 Trace: [broker/backups] _restore_progress2: Sooloos.Broker.RestoreStatus
08/30 08:36:05 Debug: [broker/backups] starting first half of restore on FileBrowser.Entry: [E:] ESPACE, Samsung SSD 960 EVO 250GB : \RoonBackups
08/30 08:36:05 Trace: [backup] getbackupdirs, rootdir: AttachedDir:E:\RoonBackups, machineid: ca26c19c-0c03-d593-2e78-4f1c3fd65ab9
08/30 08:36:05 Debug: trigger: appinitwasrun
08/30 08:36:05 Debug: trigger: broker restoring
08/30 08:36:05 Debug: ev_app_init: showing restore window
08/30 08:36:05 Debug: trigger: appinitwasnotrun
08/30 08:36:05 Debug: trigger: broker restoring
08/30 08:36:05 Debug: ev_app_init: showing restore window
08/30 08:36:05 Debug: ev_app_init: using local broker [is_essentials=0]
08/30 08:36:05 Debug: ev_app_init: showing restore window
08/30 08:36:05 Debug: unhandled selection type: 
08/30 08:36:12 Info: [stats] 5511mb Virtual, 306mb Physical, 97mb Managed, 1511 Handles, 70 Threads
08/30 08:36:22 Error: [backup] failed to restore: getfile hash: Base.MultiDictionary`2+<GetValues>d__18[System.String,Roon.FileSystem.IFileSystemDir]/48b08bcb868d7af0721fe20e9ec7d17cf9370692a1b9ac9b3bf06a63c8f07f6a: Result[Status=NotFound]
08/30 08:36:22 Warn: [broker/backups] restore first half failed on FileBrowser.Entry: [E:] ESPACE, Samsung SSD 960 EVO 250GB : \RoonBackups: NotAvailable
08/30 08:36:22 Debug: [broker/backups] on done, auto: False, result: Result[Status=NotAvailable]
08/30 08:36:25 Trace: [broker/backups] not running, no need to cancel
08/30 08:36:25 Debug: trigger: appinitwasnotrun
08/30 08:36:25 Debug: trigger: do nothing
08/30 08:36:25 Debug: ev_app_init: using local broker [is_essentials=0]
08/30 08:36:25 Debug: ev_app_init: done
08/30 08:36:25 Debug: trigger: appinitwasrun
08/30 08:36:25 Debug: trigger: apploaded, restoring nav stack
08/30 08:36:25 Debug: GMS: restoring nav stack
08/30 08:36:25 Debug: GMS: no GMS file found for broker id [object System.Guid] -- going home instead
08/30 08:36:25 Info: [ui] loading home screen
08/30 08:36:25 Debug: [music/profilestats] Computed stats in 0ms, got 0 top albums, 0 top performers, 0 genres
08/30 08:36:25 Trace: [radio/query] performing channel query
08/30 08:36:25 Trace: [radio/query] query returned 0 Sooloos.Broker.Api.Channel(s)
08/30 08:36:25 Debug: UI-FWD: mode: home
08/30 08:36:25 Debug: GMS: trying to save nav stack, but nav stack stuff was in progress
08/30 08:36:25 Debug: UI-NAV: home / bookmarkdata: 
08/30 08:36:25 Debug: GMS: done restoring nav stack
08/30 08:36:25 Debug: after delayed_start_work
08/30 08:36:25 Debug: unhandled selection type: 
08/30 08:36:25 Trace: DisposeReusableCellCache: scrollpanel(848), 0 disposed from cache.
08/30 08:36:25 Debug: [easyhttp] [29] GET to https://internetradio.roonlabs.net/2/api/stations/all?count=100&sortby=popular&location=auto&maxDistance=100&format=msgpack returned after 284 ms, status code: 200
08/30 08:36:27 Info: [stats] 5543mb Virtual, 304mb Physical, 99mb Managed, 1560 Handles, 78 Threads

I particularly noticed the above line:

restore first half failed on FileBrowser.Entry: [E:] ESPACE, Samsung SSD 960 EVO 250GB : \RoonBackups: NotAvailable"

I hope @support can help me. I am quite desperate.

Thanks in advance.

Hi @KML,

Is this the same error that you get for every location?

Can you try restoring a backup one more time from the other partition on the machine and then use the directions found here and send us over a set of logs using a shared Dropbox link (or any other file sharing service)?

Have you tried any older backups?

Hi @dylan,

Thanks for your answer.

I have 3 different backup locations, and I tried them all.

  1. The first set of logs (see 2021-08-30 around 8:36) shows an attempt to restore from a backup located on the second partition my server’s SSD.

  2. The second set of logs (see 2021-08-30 around 11:34) shows an attempt to restore from a backup of the first backup, located on a remote desktop on the same home network.

  3. The third set of logs (see 2021-08-30 around 11:47), shows an attempt to restore from my oldest backup, dating back to February 2021, and located on an external USB HDD (it was also a backup of the first backup location).

Here are the logs: Sync.com | Control Panel

Thanks, @KML. Very strange, in all three cases it says that the drive is unavailable. It might be that something is preventing the Core from accessing these directories. Do you have any firewall / AV / VPN running on the Core? Anything that might affect communication with other directories. It seems unlikely, but it’s good to rule out for sure.

Do you have another machine you can try to restore one of the backups on just as a test? I’m curious to know if it shows as Unavailable to a different machine as well.

1 Like

Hi @Dylan,
Apart from Windows firewall and security, I have no other firewall / AV / VPN running on the Core. I did a fresh windows 10 install, and used an app called O&O ShutUp10 to make windows more private.
I tried to reverse all changes and put back the windows default settings. No luck.

I also tried to restore (without success) all backups from my remote desktop and from my ipad. I get the same “NotAvailable” line in the log.

Thanks for your help.

@KML, I sent you a PM.

Hi @support, Any news from the log analysis yet ? I also sent you a copy of my library as requested by @dylan, 10 days ago. Library in which I have invested hundreds of hours : needless to say, I need help restoring this « successful » backup.

Hi @thibaud_Van_Vreckem,

I am sorry to disturb you, but I read an old post of yours about a restore failure, and I am experiencing what appears to be a similar issue. Since technical support hasn’t provided any help yet, I thought I would ask you, since you appear to have found a solution to the problem. You write elsewhere that you “had a backup of the original installation, and directly restoring the database folder from it did work.” (Backup restore failed)

What is the “original installation”, I do not quite follow?

How can one directly restore the database from it?

I have backups in 3 different places including on another directory of the server’s SSD. The other 2 are copies of that on external HDDs.

If you have any clue, I would be very grateful.

Thank you so much.

O&O ShutUp10 is such a tool, which deeply intervenes in the Windows and could also have “quieted” Roon.

If you rebuild the system and not just Roon, Roon will think that the old backup does not match this new installation. Is your Windows server newly installed? Is there an old Windows installation of it still on SSD?

The other case still had one and also a matching Roon backup to it.

I guess you need the old server installation plus one or more backups of Roon to make the restore possible.

Against this assumption speaks the possibility to move to new machines with the core. I’m sure support will work that out.

unfortunately this costs time and analysis

Hi @Uwe_Albrecht,

Thank you for your kind answer.

  1. About O&O, I tried to restore the original settings; I even tried a fresh installation of Windows 10 without O&O, but it didn’t solve the problem, so I would conclude that O&O isn’t causing the issue.

  2. “If you rebuild the system and not just Roon, Roon will think that the old backup does not match this new installation.” If this is the case, then I fail to see the point of making backups. Most of the time, when I restore a backup, it is because I need to build a new server or repair/reinstall windows. (That’s what happened in my case: I needed to reinstall windows). Surely there must be a way to restore a backup from a previous Windows installation? (Besides, if I remember correctly, I did restore backups successfully on new machines in the past).

Best regards.

That’s the guess, relocation not a problem, but if it’s the same system with significant changes, it doesn’t seem to work in your case anymore. Perhaps old settings are expected, which are simply overwritten. I wish I am not right with this apprehension.

I have therefore got into the habit of cloning the whole hard disk for safety. So everything from Windows, Linux or MacOS to Roon is always there even in older version.

My condolences.

Roon’s Backup is unreliable.

It seems the only way to be dead nuts absolutely sure that one can recover their extensive library curation is to bring down Roon and completely backup all of Roon’s libraries, folders, etc. using standard hard drive backup software. One needn’t do this frequently, only when a massive curation has been performed or there is a new Roon version or a new OS version. On a more frequent, daily or weekly or whatever, schedule one could use Roon’s Backup and that should be the first Restore effort.

In that way, should the worst happens, I.e all Roon backups are also corrupted, one has not irrevocably lost years of curation.

Advice that comes too late in this instance.

As an aside, last week I had a power failure in the middle of using Roon. When my power was restored, I didn’t think twice about Restoring from the prior day’s Backup to avoid finding down the road latent corruption that had existed long enough to overlay any good Backups.

1 Like

@KML I don’t recall fully what I did, but basically I re-installed a clean copy of windows on my machine.
and after a fresh roon install, restoring the roon backups (backups that roon does itself) was triggering errors. luckily I had a backup of the original windows installation which had the original roon installation and restoring that (by copying the over the roon database folder instead of it’s backup) did work.

1 Like

Thanks for your reply.

Hi @support,

It has been one month now, and I am still waiting for an update. Is the library backup still on your servers and on your QA team’s queue for analysis?

Please let me know.
Best reagrds

Hello @KML ,

Thank you for your patience here while we’ve had a chance to look into your case further.

The issue here is that you appear to be missing part of the Roon Backup directory, namely this file:
48b08bcb868d7af0721fe20e9ec7d17cf9370692a1b9ac9b3bf06a63c8f07f6a

The reason why this file is missing is not clear, but this file does not show up in the Roon Backup you sent as well.

You mentioned having a few other backups available, can you please try to use Windows Explorer Search to verify if those other backups are missing this file?

If you try to restore the February 2021 backups, do you also have errors restoring these properly as well, or are the issues only with the Backup you sent us?

Please let us know when possible, thank you!

1 Like

Hi @noris,

I just conducted a Windows explorer search for the file you mentionned on the 3 different copies of the backup. Explorer didn’t find it.

I also tried (many times) to restore backups from all locations without success (including February 2021).