Replication: Include Naming Schema 'bad directive in format'

rolonl

Cadet
Joined
Sep 16, 2018
Messages
3
We use sanoid on a non-TrueNAS (but Ubuntu with ZFS) as a (second) docker host in our network. Our snapshots use the following naming scheme:

zts_%Y-%m-%d_%H:%M:%S_%s, for example zts_2021-01-18_07:00:15_1610953215.

We want to use TrueNAS on our other server to PULL these automatic snapshots as a backup and then also send them to another TrueNAS machine as off-site backup.

When configuring these PULL and PULL Replication tasks, we cannot select a 'Periodic Snapshot Task', as the snapshots are created on another (non-TrueNAS) machine. Therefore we have to specify the naming scheme using the 'Also Include Naming Schema' input field. The help function refers to strftime() in the oracle documentation for the formatting of this schema. Unfortunately, TrueNAS does not accept the '%s' (number of seconds since the Epoch) directive) and states:
's' is a bad directive in format 'zts_%Y-%m-%d_%H:%M:%S_%s'
while '%s' is documented on the documentation page the help link refers to.

Is there another way to let TrueNAS replicate these snapshots, without altering our naming scheme?
 
Top