Sfoglia il codice sorgente

Corrected port variable error

Simon Royer 2 anni fa
parent
commit
6fe9552738
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      backup.sh

+ 1 - 1
backup.sh

@@ -9,4 +9,4 @@ destusername='simon'
 destport='27022'
 
 test=$(ssh -p $vpngatewayport root@$vpngateway -C 'cat /root/home.ip')
-rsync -av -e 'ssh -p $destport' $backupsource simon@$test:$backupdest
+rsync -av -e "ssh -p $destport" $backupsource simon@$test:$backupdest