Jelajahi Sumber

Update restore

julienmalik 9 tahun lalu
induk
melakukan
94f4472ab2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      scripts/restore

+ 1 - 1
scripts/restore

@@ -7,7 +7,7 @@ app=$YNH_APP_INSTANCE_NAME
 
 # The first argument is the backup directory location of the app
 # from where the script is executed
-backup_dir=$1
+backup_dir=$YNH_APP_BACKUP_DIR
 
 # Restore sources & data
 final_path="/var/www/${app}"