pvuchetich
Dabbler
- Joined
- Aug 23, 2012
- Messages
- 17
How do I get FreeNAS GUI to continue incremental zfs replications after moving a data set to a new server? The GUI wants to start from the beginning and resend the entire dataset.
Perhaps there is a file somewhere that has the most recent snapshot sent that I can manually edit?
Scenario:
old_server, new_server, and backup_server all all FreeNAS 11.1 U6 servers.
I have moved some datasets from old_server to new_server, with the intention of uninstalling FreeNAS from old_server.
Using zfs replication in the GUI, old_server sent incremental backups to both new_server and backup_server
I am now trying to set up replication from new_server to backup_server, but it is starting with the earliest snapshot (i.e., the entire dataset) instead of the incremental copy. This is not desirable because backup_server is remote and is relatively slow over a VPN.
I am able to manually send incremental snapshots from new_server to backup_server via the CLI, so there is not an error with the datasets or snapshots being out of sync. I think the issue is just that the GUI does not have a way to check for previous snapshots that were sent from old_server to backup_server when setting up a new replication task on new_server ("Last snapshot sent to remote side" in the GUI), so it is just starting from scratch (as one would expect when setting up a new replication task).
Note - next steps in troubleshooting would be to look more deeply into FreeNAS config files, possibly turn on debug logging for the autorepl.py, and generally poke around for where the GUI is getting its replication information...but I thought that someone on the forum might have had this sort of a change, although I didn't find a post with this exact scenario.
Perhaps there is a file somewhere that has the most recent snapshot sent that I can manually edit?
Scenario:
old_server, new_server, and backup_server all all FreeNAS 11.1 U6 servers.
I have moved some datasets from old_server to new_server, with the intention of uninstalling FreeNAS from old_server.
Using zfs replication in the GUI, old_server sent incremental backups to both new_server and backup_server
I am now trying to set up replication from new_server to backup_server, but it is starting with the earliest snapshot (i.e., the entire dataset) instead of the incremental copy. This is not desirable because backup_server is remote and is relatively slow over a VPN.
I am able to manually send incremental snapshots from new_server to backup_server via the CLI, so there is not an error with the datasets or snapshots being out of sync. I think the issue is just that the GUI does not have a way to check for previous snapshots that were sent from old_server to backup_server when setting up a new replication task on new_server ("Last snapshot sent to remote side" in the GUI), so it is just starting from scratch (as one would expect when setting up a new replication task).
Note - next steps in troubleshooting would be to look more deeply into FreeNAS config files, possibly turn on debug logging for the autorepl.py, and generally poke around for where the GUI is getting its replication information...but I thought that someone on the forum might have had this sort of a change, although I didn't find a post with this exact scenario.