Announcement

Collapse
No announcement yet.

Backup, Backup and More Backup

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

    #16
    I'm having issues with BLBackup and in my investigation see that the HS4 folder is now 17,xxx files while HS3 was just under 8k. Is this usual? Seems rather large by comparison.
    HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

    Comment


      #17
      I have roughly 14548 files in the HS4 folder including all sub-folders...
      HS4Pro on a Raspberry Pi4
      54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
      Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

      HSTouch Clients: 1 Android

      Comment


        #18
        Originally posted by langenet View Post
        I'm having issues with BLBackup and in my investigation see that the HS4 folder is now 17,xxx files while HS3 was just under 8k. Is this usual? Seems rather large by comparison.
        I think it all comes down to how many plugins you have installed, don't forget they will create folders and data under the HS install root folder.

        Here's my installation size for comparison:

        Click image for larger version

Name:	image.png
Views:	140
Size:	7.7 KB
ID:	1619873

        What's the advantage of using BLBackup? Why not just use a free backup program that operates independently of HS4?​

        Comment


          #19
          For HS hub users like a Zee (or even a Z-Net), you dont have much of an option for external backup systems.
          With BLBackup you at least have something.

          I wrote my own shell script to backup that is called from HS each night:
          Code:
          #!/bin/bash
          BACKUP_FILE=HS4_`date +%Y%m%d`.tar.gz
          cd /home/homeseer
          tar -zcvf $BACKUP_FILE /usr/local/HomeSeer
          rm -f $(ls -ltr HS4_* |head -n -7)

          It keeps the last 7 days of backups
          HS4Pro on a Raspberry Pi4
          54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
          Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

          HSTouch Clients: 1 Android

          Comment


            #20
            Originally posted by rmasonjr View Post
            For HS hub users like a Zee (or even a Z-Net), you dont have much of an option for external backup systems.
            With BLBackup you at least have something.

            Ahh, got it. I was being Windows myopic, my apologies.

            Comment


              #21
              Funny, I've added one plugin since my upgrade and it basically added 10K files. I do have 26 plugins installed. BLBack never completes either..

              EDIT: I just unchecked the autobackup and deleted the 1.3GB worth of backups in the html/backups folder. It's actually slightly smalled than my HS3 directory now. Did a clean restart and trying the backup again.
              HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

              Comment


                #22
                Just comparing notes: My html/backups folder only has small json files and the newest one is from 2/2/23

                My HS4 folder has 17055 files. No errors here.

                I use both BLBackup and the built-in backup to two separate locations, one local one on a network PC.

                Comment


                  #23
                  29,000+ here and 26,000+ are in html. Ten years of use, plug-ins come and go, but none of them seem to clean up after the plug-in is removed. It is amazing file bloat, but it really doesn’t hurt anything other than the time to backup or copy the HS file system. I suppose I should go in and purge, but watching a rerun of M*A*S*H is more important
                  HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

                  Comment


                    #24
                    Well, after 5 hours I had to kill BLBackup again. I am not having any luck with this on HS4. It has been my life saver for 7 years with HS3.
                    After deleting the html/backups in HS4, the size of the directory went down substantially. Below is what is in my HS4.save (backup taken of the HS4 directory while HS was down in Windows). Note thte size of the zip files... I'm perplexed. The only thing I haven't tried yet was to re-install the plugin.


                    Click image for larger version

Name:	image.png
Views:	120
Size:	62.3 KB
ID:	1619960
                    HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

                    Comment


                      #25
                      Well I finally got things sorted out. First of all, after I copied my HS3 folder to HS4 for the upgrade, I forgot to set an exclusion in defender for the HS4 folder. Then the automatic HS4 backups may have been causing issues, so I disabled them and removed all those files - find it kind of redundant if I'm using BLBackup. I tried to rename my HS4 folder to save it during my investigation but something had a handle on the folder despite everything being shutdown. It wasn't until I rebooted, it was cleared. Finally, I deleted the BLBackup.s3db and reinstalled the plugin. Works like a charm in about 7 minutes.

                      I can now sleep better
                      HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

                      Comment


                        #26
                        Just FYI - I installed the Zigbee Plus plugin and it has over 22k files by itself
                        HS4Pro on a Raspberry Pi4
                        54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
                        Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

                        HSTouch Clients: 1 Android

                        Comment


                          #27
                          That's crazy. I've installed Michael's mcsMQTT to try and know there isn't that many. I wonder why so many files? Don't these two plugins do essentially the same thing?
                          HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

                          Comment


                            #28
                            Originally posted by langenet View Post
                            That's crazy. I've installed Michael's mcsMQTT to try and know there isn't that many. I wonder why so many files?
                            Node.js requires so many modules to operate...
                            HS4Pro on a Raspberry Pi4
                            54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
                            Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

                            HSTouch Clients: 1 Android

                            Comment


                              #29
                              Originally posted by rmasonjr View Post

                              Node.js requires so many modules to operate...
                              This. People need to realize that Node.js is based on interpretive JavaScript, the application itself contains hundreds of individual modules/code-snippets which are referenced when needed.

                              A compiled application would simply combine all those individual modules into one (or more) executable and load everything into memory at run time.

                              Comment


                                #30
                                Let me offer some software-agnostic thoughts. I recently lost my SSD drive on the HS4 server... so I had to reload everything. Using the cloud "Restore Function" hosted by HST I discovered that the only directories zipped up and saved were:

                                Config
                                Data
                                html
                                scripts

                                So, if you have any other personal goodies in any other folder, like Media, etc., it won't be saved. My point being, don't rely on the cloud to save everything you might need. Caveat Emptor.

                                Designer backup? Well, that's another thread.

                                HomeSeer Version: HS4 Pro Edition 4.2.19.0 (Windows - Running as a Service)
                                Operating System: Microsoft Windows 11 Pro - Desktop
                                Z-Wave Devices via two Z-Net G3s
                                Zigbee Devices via RaspBee on RPi 3b+
                                WiFi Devices via Internal Router.

                                Enabled Plug-Ins
                                AK SmartDevice 4.0.5.1,AK Weather 4.0.5.134,AmbientWeather 3.0.1.9,Big6 3.44.0.0,BLBackup 2.0.63.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 4.5.0.2,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 4.48.707.0,JowiHue 4.1.0.3,LG ThinQ 4.0.24.4,SDJ-Health 3.1.1.4,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 4.1.0.3

                                Comment

                                Working...
                                X