From 8367b496279eed8fa28250bc9958761596d421c8 Mon Sep 17 00:00:00 2001 From: julienmalik Date: Tue, 3 May 2016 12:05:50 +0200 Subject: [PATCH] Update backup --- scripts/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup b/scripts/backup index 225481a..ee0c712 100755 --- a/scripts/backup +++ b/scripts/backup @@ -7,7 +7,7 @@ app=$YNH_APP_INSTANCE_NAME # The first argument is the backup directory location for the app # from where the script is executed and which will be compressed afterward -backup_dir=$1 +backup_dir=$YNH_APP_BACKUP_DIR # Backup sources & data sudo cp -a "/var/www/${app}" ./sources