From 29d0ba82299dae33daa693f0f53ae2b00d7d6021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20G=2E?= Date: Wed, 14 Oct 2015 14:33:45 +0200 Subject: [PATCH] Update backup Fixing backup so mysqldump dump properly. This version works on my server, aka no issue running `yunohost backup create` --- scripts/backup | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/backup b/scripts/backup index c3f47f7..54d485a 100644 --- a/scripts/backup +++ b/scripts/backup @@ -5,6 +5,7 @@ app=kanboard # which will be compressed afterward backup_dir=$1/apps/$app sudo mkdir -p $backup_dir +sudo chown admin: $backup_dir # Backup sources & data sudo cp -a /var/www/$app/. $backup_dir/sources