mirror of
https://github.com/YunoHost-Apps/koel_ynh.git
synced 2024-09-03 19:35:54 +02:00
Allow to backup data_dir
This commit is contained in:
parent
9be967bab8
commit
24b635d93f
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
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`.
|
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.
|
||||||
|
|
|
@ -25,8 +25,7 @@ ynh_backup --src_path="$install_dir"
|
||||||
# BACKUP THE DATA 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
|
# BACKUP THE NGINX CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue