[John Goerzen]
> Does that make sense?
Well, given that the recipe to do the backup was so prominent and
helpful in the documentation, I hoped a similar good recpie would be
available for restore.
In any case, I solved it like this from the backup host side:
for s in $(zfs list -t snapshot|awk '/hostset/ {print $1}'); do \
echo $s; zfs send $s | \
ssh -i /root/.ssh/id_rsa_simplesnap host.local \
zfs receive myzpool/restore/$(echo $s | cut -d/ -f4-|cut -d@ -f1); \
done
Once this was done, I used 'zfs rename' to change the
.../restore/... names to their old names.
(I had to do a complete backup/restore because I added a spare raidz
disk the wrong way, and zfs would not allow me to fix it without
backup/restore.)
--
Happy hacking
Petter Reinholdtsen