diff --git a/scripts/backup b/scripts/backup index d4006e2..a68696e 100755 --- a/scripts/backup +++ b/scripts/backup @@ -40,6 +40,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= ynh_backup --src_path="/etc/logrotate.d/$app" +ynh_backup --src_path="/var/log/$app/" #================================================= # BACKUP SYSTEMD diff --git a/scripts/restore b/scripts/restore index 523eca5..74d06be 100755 --- a/scripts/restore +++ b/scripts/restore @@ -48,6 +48,8 @@ yunohost service add "$app" --description="$app whiteboard" --log="/var/log/$app ynh_restore_file --origin_path="/etc/logrotate.d/$app" +ynh_restore_file --origin_path="/var/log/$app/" + #================================================= # RELOAD NGINX AND THE APP SERVICE #=================================================