Announcement

Collapse
No announcement yet.

How do I do manual backup?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I do manual backup?

    I made a bunch of device config changes. Near the end of all the changes the web server on my Zee S2 became unresponsive. The controller is still running and events are working, and I can SSH into it OK. I'd like to backup all the changes I just made. How can I do that from the Linux prompt? I'm not familiar with the directories used by Homeseer.

    John

    #2
    Hi John,

    All the files should be under /usr/local/HomeSeer. You could use something like WinSCP to browse the directories and copy files. The main HS database file is in the data subfolder.

    Cheers
    Al
    HS 4.2.8.0: 2134 Devices 1252 Events
    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

    Comment


      #3
      Homeseer sits in the /usr/local/HomeSeer directory.

      Shut down Homeseer 3 via the GUI. If you cannot shut it down via the GUI then shut down the mono procesess by using the kill # of the process command. The top command will show you all of the processes.

      Download and install WinSCP which is a windows like explorer for Linux. Log on to the Zee as root. Then just copy the Homeseer directory to your PC. I do this prior to every update.

      Thing is you need root access for WinSCP.

      Create a root password. IE: sudo passwd root

      Then

      1 - Using sudo do a nano /etc/ssh/sshd_config
      2 - change PermitRootLogin without-password line to PermitRootLogin yes
      3 - comment out line: #StrictModes yes
      4 - save your changes
      5 - service ssh restart
      6 - login as root
      7 - if all is OK then proceed to using WinSCP.

      Let us know how you proceed.
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

      Comment


        #4
        Thanks guys. I started to figure out where stuff was but your replies helped me get there much faster. Killed the mono processes, SCP'd files using homeseer user rather than root. Files in Config & Data directories had time stamps about when the web server died so seemed safe to reboot, and all is well now. Thanks again. John

        Comment


          #5
          Good news John!
          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

          Comment

          Working...
          X