Complete Data loss after Replication Task -> private data is gone

Hi all,
i recently opened a thread because i wanted to know the best way to move a dataset to an encrypted one.

I moved almost every dataset over and just my plex dataset was left (~15TB). The task was done over night, after checking in today realized that everything which was previously moved over is gone (overwritten?). Just the plex dataset was there and even the parent enc dataset which was encrypted, is not encrypted anymore. I am currently in a shock and don’t know how to handle it. I really would appreciate it if someone skilled can help me out here.

Here is all the info i gathered.

What i had:

  • main (pool)
    • application-data (non-encrypted)
    • private-data (encrypted)
    • cloud (non-encrypted)
    • wip (non-encrypted)
    • plex (non-encrypted)

what i wanted

  • main (pool)
    • enc (encrypted)
      • application-data (inherit enc)
      • private-data (inherit enc)
      • cloud (inherit enc)
      • wip (inherit enc)
      • plex (inherit enc)

what i got:

  • main (pool)
    • application-data (non-encrypted)
    • enc (non-encrypted)
      • plex (but not as a dataset, as a usual directory with the folders in it)

For the ‘private-data’ dataset i used the rename function of zfs and also setup that the parent dataset ‘enc’ is now the key to unlock it. I tested it and everything worked fine.

the log of the plex dataset replication task.

i also have one snapshot one minute before the plex replication task started (image below) with a size of 0 but refering to the same size of the plex dataset.

Is there any way to restore the data stored in private-data?

Sorry for the lack of information i really just don’t know what exactly to do, if there are any question i will try to answer them as good as i can.

[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_12-57' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_12-57' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_12-57' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_14-43' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_14-43' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_14-43' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_14-43' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_14-43' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_14-43' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_14-43' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_14-43' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.retention.calculate] Not destroying 'manual-2025-04-22_14-43' as it is the only snapshot left for naming schema 'manual-%Y-%m-%d_%H-%M'
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: [('main/enc/private_data/behzad', 'manual-2024-12-26_04-54'), ('main/enc/private_data/behzad', 'manual-2024-12-26_04-55')]
[2025/04/22 15:27:54] INFO     [replication_task__task_22] [zettarepl.snapshot.destroy] On <Shell(<LocalTransport()>)> for dataset 'main/enc/private_data/behzad' destroying snapshots {'manual-2024-12-26_04-54', 'manual-2024-12-26_04-55'}
[2025/04/22 15:27:55] WARNING  [replication_task__task_22] [zettarepl.replication.run] No incremental base for replication task 'task_22' on dataset 'main/plex', destroying destination dataset
[2025/04/22 15:29:26] INFO     [replication_task__task_22] [zettarepl.replication.run] For replication task 'task_22': doing push from 'main/plex' to 'main/enc' of snapshot='manual-2025-04-22_15-26' incremental_base=None include_intermediate=False receive_resume_token=None encryption=True