diff --git a/backup-zfs b/backup-zfs index 702b7f2..18eb1e3 100755 --- a/backup-zfs +++ b/backup-zfs @@ -202,6 +202,7 @@ elif $fromssh ; then log "receiving incremental snapshot from $src to $dest" #ZFS "$srchost" send $send_opts -R -I "$last" "$cur" | ZFS "$desthost" receive $recv_opts -Fue "$destfs" || die $? "zfs incremental send failed" for file in $(ssh "$srchost" zfsfind | sort) ; do + log "receiving $file from $host" if [[ $file =~ \.gpg$ ]] ; then ssh "$srchost" zfsget "$file" | gpg | ZFS "$desthost" receive $recv_opts -Fue "$dest" \ && ssh "$srchost" rm "$file"