1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00
This commit is contained in:
Éric Gaspar 2024-08-02 08:47:39 +02:00
parent 140bae04ac
commit 53d71b5ce7

View file

@ -14,22 +14,14 @@ source /usr/share/yunohost/helpers
ynh_print_info --message="Declaring files to be backed up..."
#=================================================
# BACKUP THE SYSTEM CONFIGURATION
# SYSTEM CONFIGURATION
#=================================================
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# SPECIFIC BACKUP
#=================================================
ynh_backup --src_path="/etc/onlyoffice"
ynh_backup --src_path="/var/lib/onlyoffice/documentserver/App_Data/cache/files" --not_mandatory
#=================================================
# BACKUP VARIOUS FILES
#=================================================
ynh_backup --src_path="/var/log/$app/"
#=================================================