mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Add missing quote
This commit is contained in:
parent
1044767a89
commit
31256eb765
1 changed files with 8 additions and 8 deletions
|
@ -23,20 +23,20 @@ fi
|
||||||
|
|
||||||
# # Backup app files
|
# # Backup app files
|
||||||
ynh_print_info --message="Backing up code..."
|
ynh_print_info --message="Backing up code..."
|
||||||
ynh_backup --src_path $install_dir
|
ynh_backup --src_path "$install_dir"
|
||||||
ynh_print_info --message="Backing up user data..."
|
ynh_print_info --message="Backing up user data..."
|
||||||
ynh_backup --src_path=$data_dir --dest_path="data" --is_big=1
|
ynh_backup --src_path="$data_dir" --dest_path="data" --is_big=1
|
||||||
ynh_print_info --message="Backing up configuration..."
|
ynh_print_info --message="Backing up configuration..."
|
||||||
ynh_backup --src_path /etc/nginx/conf.d/$domain.d/${app}.conf
|
ynh_backup --src_path "/etc/nginx/conf.d/$domain.d/${app}.conf"
|
||||||
ynh_backup --src_path /etc/systemd/system/seafile.service
|
ynh_backup --src_path /etc/systemd/system/seafile.service
|
||||||
ynh_backup --src_path /etc/systemd/system/seahub.service
|
ynh_backup --src_path /etc/systemd/system/seahub.service
|
||||||
ynh_backup --src_path /etc/fail2ban/jail.d/$app.conf
|
ynh_backup --src_path /etc/fail2ban/jail.d/"$app".conf
|
||||||
ynh_backup --src_path /etc/fail2ban/filter.d/$app.conf
|
ynh_backup --src_path /etc/fail2ban/filter.d/"$app".conf
|
||||||
|
|
||||||
# Backup mysql
|
# Backup mysql
|
||||||
ynh_print_info --message="Backing up database"
|
ynh_print_info --message="Backing up database"
|
||||||
ynh_mysql_dump_db --database $db_name > ${YNH_CWD}/seafiledb.dmp
|
ynh_mysql_dump_db --database "$db_name" > "${YNH_CWD}"/seafiledb.dmp
|
||||||
ynh_mysql_dump_db --database ccnetdb > ${YNH_CWD}/ccnetdb.dmp
|
ynh_mysql_dump_db --database ccnetdb > "${YNH_CWD}"/ccnetdb.dmp
|
||||||
ynh_mysql_dump_db --database seahubdb > ${YNH_CWD}/seahubdb.dmp
|
ynh_mysql_dump_db --database seahubdb > "${YNH_CWD}"/seahubdb.dmp
|
||||||
|
|
||||||
ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)."
|
ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)."
|
||||||
|
|
Loading…
Reference in a new issue