From c8f19ac978326e51161478b5bcf4a5e174a3b98c Mon Sep 17 00:00:00 2001 From: cpzengel Date: Fri, 4 Feb 2022 15:37:24 +0100 Subject: [PATCH] Update 02pull Corrected Spelling Default SSH Port 22 --- 02pull | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/02pull b/02pull index e36f215..2cf5541 100644 --- a/02pull +++ b/02pull @@ -2,8 +2,8 @@ SCRIPTPATH='/root' SOURCEHOST='host.dom.tld' SOURCEPATH='rpool/data' -DESTPATH='rpool/data/Replca' -PORT='10022' +DESTPATH='rpool/data/Replica' +PORT='22' SOURCEALL=$(ssh -p$PORT root@$SOURCEHOST 'for src in $(zfs list -H -o name |grep '"$SOURCEPATH"'/|grep -v alt); do echo ${src##*/}; done') #determines Source Datasets without 'alt' in Name echo '' echo Repliziere von $SOURCEHOST $SOURCEALL