From e63364f393a0ed8a8b8ced83fa35fe2e55fde206 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Fri, 18 Mar 2016 18:05:41 +0100 Subject: [PATCH] [enh] make backup and restore scripts multiinstance too --- scripts/backup | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/backup b/scripts/backup index f2bc33d..0ea89b7 100755 --- a/scripts/backup +++ b/scripts/backup @@ -3,7 +3,7 @@ # causes the shell to exit if any subcommand or pipeline returns a non-zero status set -e -app=ynhexample +app=$YNH_APP_INSTANCE_NAME # The parameter $1 is the backup directory location # which will be compressed afterward diff --git a/scripts/restore b/scripts/restore index 1c20f2e..83c2693 100755 --- a/scripts/restore +++ b/scripts/restore @@ -3,7 +3,7 @@ # causes the shell to exit if any subcommand or pipeline returns a non-zero status set -e -app=ynhexample +app=$YNH_APP_INSTANCE_NAME # The parameter $1 is the uncompressed restore directory location backup_dir=$1/apps/$app