I was observing Patching file with remote data
while the (pretty quick) first portion of the restore was running and creating the files on the disk. Once this initial and quick stage was finished (1-2 hours for the ~400GB ~2 million files), the 2nd stage consisted only of Recording metadata from remote data
and took ages. I checked this morning and the total restore took: Last successful restore: Yesterday at 11:54 PM (took 13:02:01)
.
During this time, all restored files were owned by root. This morning, once the restore was fully finished, I checked again and found the ownership/permissions to be correct.
I wasn’t using a log file, so unfortunately I can’t go back and look, but I can try to restore again with a log and see if I can spot the issue again. I’ll update to the latest experimental first though due to Recreating database logic/understanding/issue/slow.