Richard Durso
Explorer
- Joined
- Jan 30, 2014
- Messages
- 70
Using TrueNAS-12.0-U1.1
Trying to configure a pull replication from an Ubuntu Docker server 20.04.1 using SSH. There is very little documentation on setting up pull replication, so I'm experimenting with it but TrueNAS keeps destroying my local destination dataset (that doesn't seem right).
First step, I setup a dataset to hold it. Pretty much all the defaults.
I then make an attempt to configure the PULL Replication, it was able to browser remote datasets to allow me to select it.
Upon clicking Run Now, I get the following error:
It destroys where I'm trying to place snapshots from the remote and then gives an error "dataset does not exist".. well, yeah, you destroyed it.
When I go look, sure enough, its gone.
I'm sure I'm doing something wrong, but TrueNAS destroying the local dataset can't be right thing to do.
Trying to configure a pull replication from an Ubuntu Docker server 20.04.1 using SSH. There is very little documentation on setting up pull replication, so I'm experimenting with it but TrueNAS keeps destroying my local destination dataset (that doesn't seem right).
First step, I setup a dataset to hold it. Pretty much all the defaults.
I then make an attempt to configure the PULL Replication, it was able to browser remote datasets to allow me to select it.
Upon clicking Run Now, I get the following error:
Code:
Error cannot open 'main/docker/docker_backups': dataset does not exist. Logs [2021/01/27 19:24:57] INFO [Thread-3428] [zettarepl.paramiko.replication_task__task_17] Connected (version 2.0, client OpenSSH_8.2p1) [2021/01/27 19:24:57] INFO [Thread-3428] [zettarepl.paramiko.replication_task__task_17] Authentication (publickey) successful! [2021/01/27 19:24:59] INFO [replication_task__task_17] [zettarepl.replication.run] Encrypted destination dataset 'main/docker/docker_backups' does not have snapshots or data, destroying it [2021/01/27 19:24:59] INFO [replication_task__task_17] [zettarepl.replication.run] No snapshots to send for replication task 'task_17' on dataset 'tank/docker_projects' [2021/01/27 19:24:59] INFO [replication_task__task_17] [zettarepl.replication.run] No snapshots to send for replication task 'task_17' on dataset 'tank/docker_projects/certbot' [2021/01/27 19:24:59] INFO [replication_task__task_17] [zettarepl.replication.run] No snapshots to send for replication task 'task_17' on dataset 'tank/docker_projects/gitea' [2021/01/27 19:24:59] INFO [replication_task__task_17] [zettarepl.replication.run] No snapshots to send for replication task 'task_17' on dataset 'tank/docker_projects/homeassistant' [2021/01/27 19:24:59] INFO [replication_task__task_17] [zettarepl.replication.run] No snapshots to send for replication task 'task_17' on dataset 'tank/docker_projects/mosquitto' [2021/01/27 19:24:59] INFO [replication_task__task_17] [zettarepl.replication.run] No snapshots to send for replication task 'task_17' on dataset 'tank/docker_projects/portainer' [2021/01/27 19:24:59] INFO [replication_task__task_17] [zettarepl.replication.run] No snapshots to send for replication task 'task_17' on dataset 'tank/docker_projects/traefik' ... 5 more lines ... run_replication_task_part(replication_task, source_dataset, src_context, dst_context, observer) File "/usr/local/lib/python3.8/site-packages/zettarepl/replication/run.py", line 239, in run_replication_task_part mount_dst_datasets(dst_context, target_dataset, replication_task.recursive) File "/usr/local/lib/python3.8/site-packages/zettarepl/replication/run.py", line 674, in mount_dst_datasets dst_datasets = list_datasets_with_properties(dst_context.shell, dst_dataset, recursive, { File "/usr/local/lib/python3.8/site-packages/zettarepl/dataset/list.py", line 30, in list_datasets_with_properties output = shell.exec(args) File "/usr/local/lib/python3.8/site-packages/zettarepl/transport/zfscli/exception.py", line 29, in __exit__ raise DatasetDoesNotExistException(exc_val.returncode, exc_val.stdout) from None zettarepl.transport.zfscli.exception.DatasetDoesNotExistException: cannot open 'main/docker/docker_backups': dataset does not exist
It destroys where I'm trying to place snapshots from the remote and then gives an error "dataset does not exist".. well, yeah, you destroyed it.
When I go look, sure enough, its gone.
I'm sure I'm doing something wrong, but TrueNAS destroying the local dataset can't be right thing to do.