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