@cryptotaxi247 / infra / commits / 29cf07d3

Add note about transfering snapshots

Graham Christensen committed Apr 25, 2019 at 10:49 UTC 29cf07d3bb0fc59934f589b43c4f452aa82b3648
1 file changed +9
macs/notes.md
+9
@@ -383,3 +383,12 @@ pre-start: roll-back `execute/hash-name` to the snapshot for
383 sudo cp /Volumes/CONFIG/etc/ssh/ssh_host_* /etc/ssh/
384 sudo chown root:root /etc/ssh/ssh_host_*_key
385 sudo umount /Volumes/CONFIG
386 +
387 +
388 +---
389 +
390 +Sending a snapshot from macA to macB:
391 +
392 +[nix-shell]$ nixops ssh mac3 -- -A
393 +
394 +[root@mac3:~]# zfs send -cv rpool/mac-hdd-2-initial-setup-startup-script.img@pristine | ssh root@192.168.2.104 zfs recv -sv rpool/mac-hdd-2-initial-setup-startup-script.img