router rebooted because some critical program crashed after export

board-name: LHG R
model: RBLHGR
revision: r2
firmware-type: qca9531L
factory-firmware: 6.44.6
current-firmware: 7.13.3
upgrade-firmware: 7.13.3

uptime: 19m49s
version: 7.13.3 (stable)
build-time: Jan/24/2024 13:16:46
factory-software: 6.44.6
free-memory: 23.8MiB
total-memory: 64.0MiB
cpu: MIPS 24Kc V7.4
cpu-count: 1
cpu-frequency: 650MHz
cpu-load: 10%
free-hdd-space: 2792.0KiB
total-hdd-space: 16.0MiB
write-sect-since-reboot: 250
write-sect-total: 1299709
architecture-name: mipsbe
board-name: LHG R
platform: MikroTik

when I start /export the router crashes, but /backup running normal

Launched manually:

/interface ovpn-server server
set auth=sha1,md5
Received disconnect from 172.16.100.5 port 22:11: shutdown/reboot
Disconnected from 172.16.100.5 port 22

turn on and off ovpn&pptp servers. run again /export

/interface ovpn-server server
set auth=sha1,md5
/interface pptp-server server

PPTP connections are considered unsafe, it is suggested to use a more modern VPN protocol instead

set default-profile=default
Received disconnect from 172.16.100.5 port 22:11: shutdown/reboot
Disconnected from 172.16.100.5 port 22

What can be done provided that in the event of a complete failure, it is physically impossible to quickly reach the equipment?

Solved
The problem was in the peer wingguard settings
Solution:
Using RouterOS-Backup-Tools I unpacked the backup
I copied wingguard.dat,wingguard.idx into it from a backup taken from a clean firmware.
Packed it and upload it onto the device. After that /export began to work normally.