Replication task: 0 snapshots found.

NAS___

Explorer
Joined
Jun 15, 2020
Messages
60
Hello,
I want to replicate snapshots from my PROXMOX server to my FreeNas (in PULL mode, ie from Freenas).

I've created an SSH key and can see the ZFS pools on my PROXMOX system from the Freenas Replication GUI.

I have some snapshots created on PROXMOX with the zfs-auto-snapshot utility. For example, I have:
Code:
rpool/data@zfs-auto-snap_frequent-2021-12-29-1300                       0B      -      112K  -
rpool/data@zfs-auto-snap_frequent-2021-12-29-1315                       0B      -      112K  -
rpool/data@zfs-auto-snap_hourly-2021-12-29-1317                         0B      -      112K  -
rpool/data@zfs-auto-snap_frequent-2021-12-29-1330                       0B      -      112K  -
rpool/data@zfs-auto-snap_frequent-2021-12-29-1345                       0B      -      112K  -
rpool/data/subvol-100-disk-0@zfs-auto-snap_frequent-2021-12-29-1300  5.01M      -      866M  -
rpool/data/subvol-100-disk-0@zfs-auto-snap_frequent-2021-12-29-1315  2.73M      -      866M  -
rpool/data/subvol-100-disk-0@zfs-auto-snap_hourly-2021-12-29-1317    2.70M      -      866M  -


On the Freenas Replication Wizzard, whatever snapshot naming I choose, I always get "0 snapshots found." message.
I've tried different ZFS hierarchy, with and without recursive, various namings (such as rpool/data/subvol-100-disk-0@zfs-auto-snap_hourly-%Y-%m-%d-%H%M), ... always get the same problem.
Of course it works fine when I do the same from Freenas to Freenas.

Any idea why I get this?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Replication Tasks are specifically designed to run between TrueNAS hosts, so you may get all kinds of strange results when one of the ends isn't TrueNAS.

I recall seeing some discussion regarding the expected paths for the executables (zettarepl and maybe zfs) differing (you may find it searching for replication between 11 and 12) where a hard link to the new/different location can be made in the expected/old location to facilitate the replication.

Entirely up to you if you mess around with that or just use one of the many other options you have at the CLI with scripts of your own.
 
Top