revengineer
Contributor
- Joined
 - Oct 27, 2019
 
- Messages
 - 193
 
Hello,
Here is another noob question, this time on replication tasks. I set up daily, weekly, and monthly snapshot for my main data pool, with appropriate keep times. I want to replicate the snapshots to a backup drive. I set up a local replication task and select for "Periodic Snapshot Tasks" the daily snapshot and all worked fine for the last week. Today I added the weekly and monthly snapshot by clicking the checkmarks for the snapshots in "Periodic Snapshot Tasks"; so there are 3 checkmarks total now. When I run the task, I get the error below. If someone could tell me what I am doing wrong, I would appreciate it. Thank you!
	
		
			
		
		
	
			
			Here is another noob question, this time on replication tasks. I set up daily, weekly, and monthly snapshot for my main data pool, with appropriate keep times. I want to replicate the snapshots to a backup drive. I set up a local replication task and select for "Periodic Snapshot Tasks" the daily snapshot and all worked fine for the last week. Today I added the weekly and monthly snapshot by clicking the checkmarks for the snapshots in "Periodic Snapshot Tasks"; so there are 3 checkmarks total now. When I run the task, I get the error below. If someone could tell me what I am doing wrong, I would appreciate it. Thank you!
Code:
[2020/07/01 08:40:17] INFO     [replication_task__task_3] [zettarepl.replication.run] For replication task 'task_3': doing push from 'tank1/users' to 'backup1/backup/users' of snapshot='monthly-auto-2020-07-01_00-00' incremental_base='daily-auto-2020-07-01_00-00' receive_resume_token=None
[2020/07/01 08:40:17] ERROR    [replication_task__task_3] [zettarepl.replication.run] For task 'task_3' unhandled replication error ExecException(1, 'cannot receive incremental stream: most recent snapshot of backup1/backup/users does not\nmatch incremental source\n')
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/run.py", line 143, in run_replication_tasks
    run_replication_task_part(replication_task, source_dataset, src_context, dst_context, observer)
  File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/run.py", line 204, in run_replication_task_part
    run_replication_steps(step_templates, observer)
  File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/run.py", line 389, in run_replication_steps
    replicate_snapshots(step_template, incremental_base, snapshots, observer)
  File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/run.py", line 444, in replicate_snapshots
    run_replication_step(step_template.instantiate(incremental_base=incremental_base, snapshot=snapshot), observer)
  File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/run.py", line 500, in run_replication_step
    ReplicationProcessRunner(process, monitor).run()
  File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/process_runner.py", line 33, in run
    raise self.process_exception
  File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/process_runner.py", line 37, in _wait_process
    self.replication_process.wait()
  File "/usr/local/lib/python3.7/site-packages/zettarepl/transport/local.py", line 128, in wait
    self.async_exec.wait()
  File "/usr/local/lib/python3.7/site-packages/zettarepl/transport/local.py", line 50, in wait
    raise ExecException(self.process.returncode, stdout)
zettarepl.transport.interface.ExecException: cannot receive incremental stream: most recent snapshot of backup1/backup/users does not
match incremental source