# Problem z połączeniem

**URL:** <https://forum.arturhome.pl/t/problem-z-polaczeniem/7288>\
**Category:** Szybkie porady\
**Created:** [9 Grudzień 2022 19:24 UTC](https://forum.arturhome.pl/t/problem-z-polaczeniem/7288 "2022-12-09T19:24:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Autor:** ![Rafał\_R](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/rafa%C5%82_r/32/13475_2.png) [@Rafał\_R](https://forum.arturhome.pl/u/Rafa%C5%82_R)\
**Data wpisu:** [9 Grudzień 2022 19:24 UTC](https://forum.arturhome.pl/t/problem-z-polaczeniem/7288/1 "2022-12-09T19:24:52Z")

</div>

Witam. Na poczatek uprzedzam raczkuje w tematyce homeassistant/sieć. Dzisiaj przy próbie aktualizacji homeassistant złapał zwieche i uruchomilem go ponownie w efekcie pojawily się errory ext4… uruchomilem ponownie wirtuana maszyne… i sie poprawilo ale nie moge polaczyc sie z HA, wyskakuje komunikat ze polaczenie zostalo odrzucone… ktos cos podpowie co popsulem? ☹

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [9 Grudzień 2022 19:44 UTC](https://forum.arturhome.pl/t/problem-z-polaczeniem/7288/2 "2022-12-09T19:44:45Z")

</div>

To się chyba nie kwalifikuje na “szybką poradę”…

Zrobiłeś za dużo trudnych do zdiagnozowania ruchów po sobie…

Dysponujesz backupem HA lub migawką systemu sprzed tych działań?  
Jeśli tak, to skorzystaj z nich.

---

<div class="post-metadata">

**Autor:** ![Rafał\_R](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/rafa%C5%82_r/32/13475_2.png) [@Rafał\_R](https://forum.arturhome.pl/u/Rafa%C5%82_R)\
**Data wpisu:** [9 Grudzień 2022 20:33 UTC](https://forum.arturhome.pl/t/problem-z-polaczeniem/7288/3 "2022-12-09T20:33:31Z")

</div>

Mam backup ale jak go uruchomic z poziomu konsoli ?

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [9 Grudzień 2022 20:38 UTC](https://forum.arturhome.pl/t/problem-z-polaczeniem/7288/4 "2022-12-09T20:38:58Z")

</div>

Generalnie najpierw spróbowałbym restartu samej VM i przejrzenia czy nie pojawiają się błędy podczas jej bootowania.

A w kwestii komend linii poleceń to mają rozbudowany help

```auto
~ $ ha backups --help                                                                                                                                                          
                                                                                                                                                                               
Backups of your Home Assistant system, which you can create,                                                                                                                   
restore, and delete using this command.                                                                                                                                        
                                                                                                                                                                               
Usage:                                                                                                                                                                         
  ha backups [flags]                                                                                                                                                           
  ha backups [command]                                                                                                                                                         
                                                                                                                                                                               
Aliases:                                                                                                                                                                       
  backups, backup, back, backups, bk, snapshots, snapshot, snap, shot, sn                                                                                                      
                                                                                                                                                                               
Examples:                                                                                                                                                                      
                                                                                                                                                                               
  ha backups                                                                                                                                                                   
  ha backups new                                                                                                                                                               
                                                                                                                                                                               
Available Commands:                                                                                                                                                            
  info Provides information about the current available backups                                                                                                         
  new Create a new Home Assistant backup                                                                                                                               
  options Allow to set options on backup manager                                                                                                                           
  reload Reload the files on disk to check for new or removed backups                                                                                                     
  remove Deletes a backup from disk                                                                                                                                       
  restore Restores a Home Assistant backup                                                                                                                                 
                                                                                                                                                                               
Flags:
  -h, --help help for backups

Global Flags:
      --api-token string Home Assistant Supervisor API token
      --config string Optional config file (default is $HOME/.homeassistant.yaml)
      --endpoint string Endpoint for Home Assistant Supervisor (default is 'supervisor')
      --log-level string Log level (defaults to Warn)
      --no-progress Disable the progress spinner
      --raw-json Output raw JSON from the API

```

```auto
~ $ ha backups restore --help

When something goes wrong, this command allows you to restore a previously
take Home Assistant backup on your system.

Usage:
  ha backups restore [slug] [flags]

Examples:

  ha backups restore c1a07617
  ha backups restore c1a07617 --addons core_ssh --addons core_mosquitto
  ha backups restore c1a07617 --folders config

Flags:
  -a, --addons stringArray addons to restore, triggers a partial backup
  -f, --folders stringArray folders to restore, triggers a partial backup
  -h, --help help for restore
      --homeassistant Restore homeassistant (default true), triggers a partial backup when set to false (default true)
      --password string Password

Global Flags:
      --api-token string Home Assistant Supervisor API token
      --config string Optional config file (default is $HOME/.homeassistant.yaml)
      --endpoint string Endpoint for Home Assistant Supervisor (default is 'supervisor')
      --log-level string Log level (defaults to Warn)
      --no-progress Disable the progress spinner
      --raw-json Output raw JSON from the API

```

Jeśli jesteś w CLI to już jesteś w ha więc pomijasz `ha` w komendzie.

Skoro to VM, to lepiej użyć migawki całej VM.
