Replication to separate pool

I am trying to replicate one dataset too another pool.

I am using the wizard and setting up a new snapshot and the replication task keep failing.

This is the error that is showing up.

 Error: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 469, in run
    await self.future
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 511, in __run_body
    rv = await self.method(*args)
         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 187, in nf
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/replication.py", line 484, in run
    await self.middleware.call("zettarepl.run_replication_task", id_, really_run, job)
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1564, in call
    return await self._call(
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1428, in _call
    return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1321, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/zettarepl.py", line 401, in run_replication_task
    self._run_replication_task_job(f"task_{id_}", job)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/zettarepl.py", line 461, in _run_replication_task_job
    raise CallError(make_sentence(message.error))
middlewared.service_exception.CallError: [EFAULT] cannot receive incremental stream: most recent snapshot of tank/appsbackup does not
match incremental source.

This is how I have my replication set up. What am I doing wrong?

cannot receive incremental stream: most recent snapshot of tank/appsbackup does not
match incremental source.

Ummm.

Is there any history behind this error that we need to know?

Not that I know of.

I am just trying to backup my host path app data folders to another drive.

I followed lawrence systems for how to set up a replication task which would also create a snapshot task. I just dont know why it isnt working.

I have encounter similar situation.
Probably there Is a better way, but
I solved deleting everything related to the job (destination dataset, replication task, ecc), recreating the task adding the flag on full filesystem replication, then Is working as expected

I solved mine by setting up snapshot tasks following stux’s guide. That worked for replicating from one pool to another.

To replicate from one system to another I had to set the full filesystem flag as well. And had to create another snapshot to get that going.

1 Like