From 24b635d93f3d746e5a8ba44dcb997eaeb2d7e220 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 17 Sep 2023 19:07:22 +0200 Subject: [PATCH] Allow to backup data_dir --- doc/ADMIN.md | 1 + scripts/backup | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ADMIN.md b/doc/ADMIN.md index bae0a55..30692d9 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -2,3 +2,4 @@ __APP__'s data directory is located at `__DATA_DIR__` and symlinked to `/home/yu for easy access to users and other multimedia applications. You may change it in Koel's configuration page, for instance into `/home/yunohost.multimedia/share/Music`. +If you change it, `__DATA_DIR__` will still be the directory to be backed up. diff --git a/scripts/backup b/scripts/backup index da58f90..69dd047 100755 --- a/scripts/backup +++ b/scripts/backup @@ -25,8 +25,7 @@ ynh_backup --src_path="$install_dir" # BACKUP THE DATA DIR #================================================= -# Only relevant if there is a "data_dir" resource for this app -#ynh_backup --src_path="$data_dir" --is_big +ynh_backup --src_path="$data_dir" --is_big #================================================= # BACKUP THE NGINX CONFIGURATION