Manually start replication?

Status
Not open for further replies.

antonov

Cadet
Joined
Feb 4, 2013
Messages
4
Hello,

I habe to FreeNAS boxes running the latest release and a configured auto ZFS-replication. This works quite well, but what I don't like is that it starts the replication whenever it wants in the replication-frame. Is there a command to say FreeNAS to replicate immediately, using the replication tasks from the GUI? I know that it is possible to send snapshots manually via commandline, but then I would need a new sync-system.

With Kind Regards,

Antonov
 

macaque

Cadet
Joined
Mar 18, 2013
Messages
1
Running 'python /usr/local/www/freenasUI/tools/autorepl.py' seems to do the trick.

-macaque

Hello,

I habe to FreeNAS boxes running the latest release and a configured auto ZFS-replication. This works quite well, but what I don't like is that it starts the replication whenever it wants in the replication-frame. Is there a command to say FreeNAS to replicate immediately, using the replication tasks from the GUI? I know that it is possible to send snapshots manually via commandline, but then I would need a new sync-system.

With Kind Regards,

Antonov
 

dpearcefl

Contributor
Joined
Aug 4, 2015
Messages
145
This does not appear to work anymore. I am using 9.10.

Code:
Traceback (most recent call last):
  File "/usr/local/www/freenasUI/tools/autorepl.py", line 417, in <module>
    map_target = mapfromdata(snaplist)
  File "/usr/local/www/freenasUI/tools/autorepl.py", line 64, in mapfromdata
    snapname, timestamp = line.split('\t')
ValueError: need more than 1 value to unpack
 
Status
Not open for further replies.
Top