Просмотр исходного кода

Set backup download location on restore for ftp/sftp.

Raphael Schneeberger 5 лет назад
Родитель
Сommit
ed0f00a1ab
2 измененных файлов с 2 добавлено и 0 удалено
  1. 1 0
      CHANGELOG.md
  2. 1 0
      bin/v-restore-user

+ 1 - 0
CHANGELOG.md

@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
 - Check whether Nginx, Apache2 and MariaDB are selected for installation prior to adding third party repositories.
 - Check whether Nginx, Apache2 and MariaDB are selected for installation prior to adding third party repositories.
 - Remove duplicated set-cookie line in default fpm config.
 - Remove duplicated set-cookie line in default fpm config.
 - Adjust let's encrypt validation check for idn domains, thanks to @zanami!
 - Adjust let's encrypt validation check for idn domains, thanks to @zanami!
+- Set backup download location on restore for ftp/sftp, thanks to @Daniyal-Javani!
 
 
 ## [1.1.1] - 2020-03-24 - Hotfix
 ## [1.1.1] - 2020-03-24 - Hotfix
 ### Features
 ### Features

+ 1 - 0
bin/v-restore-user

@@ -41,6 +41,7 @@ ftpc() {
     /usr/bin/ftp -n $HOST $PORT <<EOF
     /usr/bin/ftp -n $HOST $PORT <<EOF
     quote USER $USERNAME
     quote USER $USERNAME
     quote PASS $PASSWORD
     quote PASS $PASSWORD
+    lcd $BACKUP
     binary
     binary
     $1
     $1
     $2
     $2