SOLVED ZFS replication only during the night?

blanchet

Guru
Joined
Apr 17, 2018
Messages
516
Hi,

I would like to replicate my FreeNAS server to another one only during the night (between 20:00 and 08:00) .
How should I specify this period of time ?
  • a single replication task that overlap midnight ?
    • Begin Time = 20:00 and End Time = 08:00
  • or two replication tasks that stop and start at midnight ?
    • Task1: Begin Time = 20:00 and End Time = 23:59
    • Task2: Begin Time = 00:00 and End Time = 08:00
Regards,
 
Last edited:

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
they are identical, soooo...either one should work? the replication will run b/w start and end times.
 
Joined
Jul 3, 2015
Messages
926
a single replication task that overlap midnight ?
  • Begin Time = 20:00 and End Time = 08:00
This will work fine and be simpler than two.
 

blanchet

Guru
Joined
Apr 17, 2018
Messages
516
Thank you for the explanation because the documentation did not explain this case.
I have tested a single replication tasks for a week, and it works as expected.
 
Last edited:
Top