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