Periodic snapshot run automatically

Samuel Mutel

Dabbler
Joined
Feb 21, 2020
Messages
21
I am using FreeNAS 1.13.

I have setup a snapshot to be create at 3:30PM. This snapshot has been created correctly.
For this snapshot I have created a periodic snapshot with the Run automatically option set.
However the snapshot replication was not started. Why ?
 

Samuel Mutel

Dabbler
Joined
Feb 21, 2020
Messages
21
If I start the replication manually, I have this error:

Code:
Unmatched '''.
Illegal variable name.
Ambiguous output redirect.
{: Command not found.
}: Command not found.
{: Command not found.
}: Command not found.
Too many )'s.
pipestatus0: Undefined variable.
pipestatus1: Undefined variable.
Unmatched '''.
full send of bigone/Backup-Netbox@auto-2020-02-21_15-48 estimated size is 22.5M
full send of bigone/Backup-Netbox@auto-2020-02-21_15-48 estimated size is 22.5M
warning: cannot send 'bigone/Backup-Netbox@auto-2020-02-21_15-48': signal received.

Logs

[2020/02/21 16:12:21] INFO     [Thread-203] [zettarepl.paramiko.replication_task__task_61] Connected (version 2.0, client OpenSSH_7.9-hpn14v15)
[2020/02/21 16:12:21] INFO     [Thread-203] [zettarepl.paramiko.replication_task__task_61] Authentication (publickey) successful!
[2020/02/21 16:12:21] WARNING  [replication_task__task_61] [zettarepl.replication.run] No incremental base for replication task 'task_61' on dataset 'bigone/Backup-Netbox', destroying all destination snapshots
[2020/02/21 16:12:21] INFO     [replication_task__task_61] [zettarepl.snapshot.destroy] On )> for dataset 'bigone/Backup-Netbox' destroying snapshots ['auto-20200127.0900-4w', 'auto-20200128.0900-4w', 'auto-20200129.0900-4w', 'auto-20200130.0900-4w', 'auto-20200131.0900-4w', 'auto-20200203.0900-4w', 'auto-20200204.0900-4w', 'auto-20200205.0900-4w', 'auto-20200206.0900-4w', 'auto-20200207.0900-4w', 'auto-20200210.0900-4w', 'auto-20200211.0900-4w', 'auto-20200212.0900-4w', 'auto-20200214.1012-4w']
[2020/02/21 16:12:22] INFO     [replication_task__task_61] [zettarepl.replication.run] For replication task 'task_61': doing push from 'bigone/Backup-Netbox' to 'bigone/Backup-Netbox' of snapshot='auto-2020-02-21_15-48' incremental_base=None receive_resume_token=None
[2020/02/21 16:12:24] ERROR    [replication_task__task_61] [zettarepl.replication.run] For task 'task_61' unhandled replication error ExecException(141, "Unmatched '''.\nIllegal variable name.\nAmbiguous output redirect.\n{: Command not found.\n}: Command not found.\n{: Command not found.\n}: Command not found.\nToo many )'s.\npipestatus0: Undefined variable.\npipestatus1: Undefined variable.\nUnmatched '''.\nfull send of bigone/Backup-Netbox@auto-2020-02-21_15-48 estimated size is 22.5M\nfull send of bigone/Backup-Netbox@auto-2020-02-21_15-48 estimated size is 22.5M\nwarning: cannot send 'bigone/Backup-Netbox@auto-2020-02-21_15-48': signal received\n")
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/zettarepl/replication/run.py", line 119, 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 180, in run_replication_task_part
... 19 more lines ...
}: Command not found.
{: Command not found.
}: Command not found.
Too many )'s.
pipestatus0: Undefined variable.
pipestatus1: Undefined variable.
Unmatched '''.
full send of bigone/Backup-Netbox@auto-2020-02-21_15-48 estimated size is 22.5M
full send of bigone/Backup-Netbox@auto-2020-02-21_15-48 estimated size is 22.5M
warning: cannot send 'bigone/Backup-Netbox@auto-2020-02-21_15-48': signal received
 
Top