From 5836a48c36332e7b654823d166bff92892be10c3 Mon Sep 17 00:00:00 2001 From: mbugeia Date: Mon, 8 Feb 2016 21:09:26 +0100 Subject: [PATCH] fix backupfor yunohost 2.4 --- scripts/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup b/scripts/backup index f19b6a0..30c740c 100644 --- a/scripts/backup +++ b/scripts/backup @@ -14,7 +14,7 @@ db_pwd=$(sudo yunohost app setting ${APP} mysqlpwd) # Backup app files sudo mkdir -p "${BACKUP_DIR}/www" -sudo cp -a /var/www/${app}/. "${BACKUP_DIR}/www" +sudo cp -a /var/www/${APP}/. "${BACKUP_DIR}/www" # Backup conf files sudo mkdir -p "${BACKUP_DIR}/conf"