Problems with remote replication

oliver11

Cadet
Joined
Mar 3, 2023
Messages
2
i don't get remote replication to work. it fails and i get following error message:

[2023/03/04 14:00:02] INFO [Thread-34] [zettarepl.paramiko.replication_task__task_5] Connected (version 2.0, client OpenSSH_8.4p1)
[2023/03/04 14:00:02] INFO [Thread-34] [zettarepl.paramiko.replication_task__task_5] Authentication (publickey) successful!
[2023/03/04 14:00:02] INFO [replication_task__task_5] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2023/03/04 14:00:02] INFO [replication_task__task_5] [zettarepl.replication.run] For replication task 'task_5': doing push from 'tank/cloud' to 'Backup/backup/cloud' of snapshot='auto-2023-03-02_06-00' incremental_base=None include_intermediate=False receive_resume_token=None encryption=False
[2023/03/04 14:00:03] WARNING [replication_task__task_5] [zettarepl.replication.run] For task 'task_5' at attempt 1 recoverable replication error RecoverableReplicationError('cannot receive new filesystem stream: permission denied\nBroken pipe.')
[2023/03/04 14:00:03] INFO [replication_task__task_5] [zettarepl.replication.run] After recoverable error sleeping for 1 seconds
[2023/03/04 14:00:04] INFO [replication_task__task_5] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2023/03/04 14:00:04] INFO [replication_task__task_5] [zettarepl.replication.run] For replication task 'task_5': doing push from 'tank/cloud' to 'Backup/backup/cloud' of snapshot='auto-2023-03-02_06-00' incremental_base=None include_intermediate=False receive_resume_token=None encryption=False
[2023/03/04 14:00:05] WARNING [replication_task__task_5] [zettarepl.replication.run] For task 'task_5' at attempt 2 recoverable replication error RecoverableReplicationError('cannot receive new filesystem stream: permission denied\nBroken pipe.')
[2023/03/04 14:00:05] INFO [replication_task__task_5] [zettarepl.replication.run] After recoverable error sleeping for 2 seconds
... 2 more lines ...
[2023/03/04 14:00:08] WARNING [replication_task__task_5] [zettarepl.replication.run] For task 'task_5' at attempt 3 recoverable replication error RecoverableReplicationError('cannot receive new filesystem stream: permission denied\nBroken pipe.')
[2023/03/04 14:00:08] INFO [replication_task__task_5] [zettarepl.replication.run] After recoverable error sleeping for 4 seconds
[2023/03/04 14:00:12] INFO [replication_task__task_5] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2023/03/04 14:00:13] INFO [replication_task__task_5] [zettarepl.replication.run] For replication task 'task_5': doing push from 'tank/cloud' to 'Backup/backup/cloud' of snapshot='auto-2023-03-02_06-00' incremental_base=None include_intermediate=False receive_resume_token=None encryption=False
[2023/03/04 14:00:13] WARNING [replication_task__task_5] [zettarepl.replication.run] For task 'task_5' at attempt 4 recoverable replication error RecoverableReplicationError('cannot receive new filesystem stream: permission denied\nBroken pipe.')
[2023/03/04 14:00:13] INFO [replication_task__task_5] [zettarepl.replication.run] After recoverable error sleeping for 8 seconds
[2023/03/04 14:00:22] INFO [replication_task__task_5] [zettarepl.replication.pre_retention] Pre-retention destroying snapshots: []
[2023/03/04 14:00:22] INFO [replication_task__task_5] [zettarepl.replication.run] For replication task 'task_5': doing push from 'tank/cloud' to 'Backup/backup/cloud' of snapshot='auto-2023-03-02_06-00' incremental_base=None include_intermediate=False receive_resume_token=None encryption=False
[2023/03/04 14:00:22] WARNING [replication_task__task_5] [zettarepl.replication.run] For task 'task_5' at attempt 5 recoverable replication error RecoverableReplicationError('cannot receive new filesystem stream: permission denied\nBroken pipe.')
[2023/03/04 14:00:22] ERROR [replication_task__task_5] [zettarepl.replication.run] Failed replication task 'task_5' after 5 retries

I have both machines running on TrueNAS-SCALE-22.12.1 and they are in the same network.
The settings for the replication task:
Bildschirmfoto vom 2023-03-04 14-10-13.png
Bildschirmfoto vom 2023-03-04 14-10-42.png
Bildschirmfoto vom 2023-03-04 19-49-39.png
 

oliver11

Cadet
Joined
Mar 3, 2023
Messages
2
ok, i managed it to work. i had to ssl as root instead of my created backup0 user.
 

JulianSimon

Cadet
Joined
Apr 23, 2023
Messages
1
Can you please share the working configuration ? I am trying to setup the similar configuration an still no success
 
Top