Home Assistant connection problems

Good morning everyone,
I should solve a communication problem with Home Assistant on raspberry. Until a few days ago I connected to the system via a domain which however expired and I decided to use DackDNS. I must have paid little attention in the configuration and unfortunately now I can no longer communicate with HASS even locally. Does anyone know how to restore a backup without having access to HASS? I imagined recovering the file from a previous backup, reloading the system and restoring the backup file but unfortunately there is no trace of the backups in the micro SD