Recover deleted data

Noob here. Running TrueNAS Scale - Version: 25.04.1

I mounted some local shares in a nextcloud docker container and during an update of that container, it somehow deleted all content in those shares.

My dataset structure on TrueNAS is:

HDD

  • content

„content“ is the child dataset, that was cleaned by the update action above

I had snapshots set up, but only of the main HDD dataset, assuming that that would include all child datasets.

When I clone earlier snapshots of HDD, it appears as if - content is still empty - which leads me to believe that I should have created snapshots of child datasets as well. Am I correct with this assumption?

If the - content dataset was cleaned and snapshot won‘t restore it, is there any other way to restore the data?

Thanks for any help!

Ok - answering my own question here. Looking more into it, I discovered that Snapshots have a „recursive“ option which when checked will include Child datasets.

I did not have that option checked.

So, it seems that my snapshots are not useful in this case.

Any other way to recover deleted data?