Andy Fraser
Cadet
- Joined
- Dec 5, 2016
- Messages
- 7
Hello all,
I've named my ixsystems mini "daneeka" (the cautious MD in Catch-22).
I have set up a ZFS disk on my Debian system, "cathcart". I want to automatically and periodically (period of one hour, say) replicate snapshots from daneeka to cathcart.
After reading the documentation and several google searches, I've gotten my data from daneeka replicated on cathcart. Here are the key commands from the history (note that first incremental had -F on recv):
Trying to get the same effect from the FreeNAS GUI produces email like the following:
From: XXX
Subject: daneeka.local: Critical Alerts
To: YYY
Date: Tue, 06 Dec 2016 01:10:15 -0000 (4 hours, 35 minutes, 46 seconds ago)
Replication FiveT/for_linux -> cathcart:zfsbackup/for_linux failed:
Failed: FiveT/for_linux (auto-20161205.1803-2d)
Here are the values I have in the GUI for snapshots and replication:
I'd be grateful for any advice on how to get freenas to automate what I can do from the command line.
I've named my ixsystems mini "daneeka" (the cautious MD in Catch-22).
I have set up a ZFS disk on my Debian system, "cathcart". I want to automatically and periodically (period of one hour, say) replicate snapshots from daneeka to cathcart.
After reading the documentation and several google searches, I've gotten my data from daneeka replicated on cathcart. Here are the key commands from the history (note that first incremental had -F on recv):
Code:
29 zfs send FiveT/for_linux@auto-20161205.0737-2h | ssh -p 81 -i /data/ssh/replication cathcart zfs recv zfsbackup/for_linux@auto-20161205.0737-2h 57 zfs send -i auto-20161205.0727-2h FiveT/for_linux@auto-20161205.0737-2h | ssh -p 81 -i /data/ssh/replication cathcart zfs recv -F zfsbackup/for_linux 58 zfs send -i auto-20161205.0737-2h FiveT/for_linux@auto-20161205.0747-2h | ssh -p 81 -i /data/ssh/replication cathcart zfs recv zfsbackup/for_linux 59 zfs send -i auto-20161205.0747-2h FiveT/for_linux@auto-20161205.0849-2d | ssh -p 81 -i /data/ssh/replication cathcart zfs recv zfsbackup/for_linux
Trying to get the same effect from the FreeNAS GUI produces email like the following:
From: XXX
Subject: daneeka.local: Critical Alerts
To: YYY
Date: Tue, 06 Dec 2016 01:10:15 -0000 (4 hours, 35 minutes, 46 seconds ago)
Replication FiveT/for_linux -> cathcart:zfsbackup/for_linux failed:
Failed: FiveT/for_linux (auto-20161205.1803-2d)
Here are the values I have in the GUI for snapshots and replication:
Code:
Snapshot: Volume/Dataset: FiveT/for_linux Recursive: True When: always Frequency: every hour Keep snapshot for: 2 day VMware Sync: false Enabled true Replication: Volume/Dataset: FiveT/for_linuxR Remote ZFS Volume/Dataset: zfsbackup/for_linux Recursively replicate child dataset's snapshots: check Delete stale snapshots on remote system: check Replication Stream Compression: lz4 Limit (kB/s): 0 Begin: End: Enabled: Remote hostname: cathcart Remote port: 81 Dedicated User Enabled: unchecked Dedicated User: Encryption Cipher: Fast Remote hostkey: Public Key from cathcart
I'd be grateful for any advice on how to get freenas to automate what I can do from the command line.
Last edited by a moderator: