Restore Completely Erased Mapped Media Folder on NAS

So, due to a malfunction in the Monoprice integration as a result of the latest update, when I restored my full backup from 2 days ago, the restore process completely wiped out all of my audio files in my soundFx folder, which is a share on my NAS that I’ve mapped as a media source in HA storage.

When the restore process warns that it’s going to wipe the system and restore, I would expect mapped shares to NOT be included in this process.

What a disaster!

chattr +i

Sorry for your problem but maybe this help you next time. Immutable files cannot be changed or deleted

That’s where backups are useful.

You could try to use testdisk to recover deleted files and you need to run it on your NAS. You need to limit the writes on your NAS as much as possible and you need a disk external to your nas to recover the files to.

You may have a file version feature enabled on your NAS which may also help to restore files.

Yes, I understand that. Why would mapped storage be included in a complete system wipe during a restore? Makes no sense. Those folders aren’t a part of HA backups, so they shouldn’t be affected by a full restore.

Mapped to what location?

/config/mymountedfolder?

Using the storage feature, I mounted it as a Media item. If I check mount in the terminal it shows that it’s mapped as /media/soundFx, which is a folder at the root.

192.168.1.140:/mnt/user/Media/familyMedia/soundFx on /media/soundFx type nfs4

I think I agree that it should not restore this.

Just to be sure, you check directly on filesystem not using HA or even synology but ssh and went to folder? Checking all bases.

If this is true maybe good to report at github since this does not seem like expected function