Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter: iobroker.backitup (stable Release)

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Adapter: iobroker.backitup (stable Release)

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sol21 last edited by

      wie gewünscht. Habe das Backup manuell via Button "jetzt Sichern" im Adapter ausgelöst.

      ! ` > backitup.0 2018-11-23 17:06:25.724 debug system.adapter.admin.0: logging true

      backitup.0 2018-11-23 17:05:22.459 debug [total/history] backitup.0.history.html

      backitup.0 2018-11-23 17:05:22.331 debug [total] 10 15 04 */5 * *

      backitup.0 2018-11-23 17:05:22.323 info [total] backup was activated at 04:15 every 5 day(s)

      backitup.0 2018-11-23 17:05:22.322 debug [minimal] 10 00 04 */1 * *

      backitup.0 2018-11-23 17:05:22.279 info [minimal] backup was activated at 04:00 every 1 day(s)

      backitup.0 2018-11-23 17:05:22.248 debug [total/email] done

      backitup.0 2018-11-23 17:05:21.342 debug [DEBUG] [total/email] done

      backitup.0 2018-11-23 17:05:21.341 debug [DEBUG] [total/start] done

      backitup.0 2018-11-23 17:05:21.341 debug [DEBUG] [total/clean] done

      backitup.0 2018-11-23 17:05:21.341 debug [DEBUG] [total/cifs] done

      backitup.0 2018-11-23 17:05:21.341 debug [DEBUG] [total/total] done

      backitup.0 2018-11-23 17:05:21.340 debug [DEBUG] [total/total] Ignore dir: /opt/iobroker/backups

      backitup.0 2018-11-23 17:05:21.340 debug [DEBUG] [total/total] TAR started…

      backitup.0 2018-11-23 17:05:21.338 debug [DEBUG] [total/mount] done

      backitup.0 2018-11-23 17:05:21.335 debug Printing logs of previous backup

      host.raspberrypi 2018-11-23 17:05:21.873 info instance scheduled system.adapter.daswetter.0 */15 * * * *

      backitup.0 2018-11-23 17:05:21.325 info starting. Version 0.3.8 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.11.1

      backitup.0 2018-11-23 17:05:21.165 debug statesDB connected

      backitup.0 2018-11-23 17:05:21.093 debug objectDB connected

      host.raspberrypi 2018-11-23 17:05:17.859 info instance system.adapter.backitup.0 started with pid 23845

      parser.0 2018-11-23 17:05:17.167 info starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.parser, node: v8.11.1

      host.raspberrypi 2018-11-23 17:05:13.862 info instance system.adapter.parser.0 started with pid 23835

      tr-064.0 2018-11-23 17:05:09.723 info starting. Version 0.4.18 in /opt/iobroker/node_modules/iobroker.tr-064, node: v8.11.1

      host.raspberrypi 2018-11-23 17:05:05.850 info instance system.adapter.tr-064.0 started with pid 23825

      modbus.0 2018-11-23 17:05:05.726 info Connected to slave 192.168.188.36

      modbus.0 2018-11-23 17:05:05.314 warn Serial is not available

      modbus.0 2018-11-23 17:05:05.262 info starting. Version 2.0.9 in /opt/iobroker/node_modules/iobroker.modbus, node: v8.11.1

      javascript.0 2018-11-23 17:05:04.222 info script.js.in_zeit_sperre_R1_mitWetter: registered 1 subscription and 2 schedules

      javascript.0 2018-11-23 17:05:04.121 info Start javascript script.js.in_zeit_sperre_R1_mitWetter

      javascript.0 2018-11-23 17:05:04.120 info script.js.Zeit_WP_Sperre_Ein_dynamisch: registered 0 subscriptions and 2 schedules

      javascript.0 2018-11-23 17:05:04.033 info Start javascript script.js.Zeit_WP_Sperre_Ein_dynamisch

      javascript.0 2018-11-23 17:05:04.032 info script.js.TemperaturAktuell: registered 0 subscriptions and 1 schedule

      javascript.0 2018-11-23 17:05:03.946 info Start javascript script.js.TemperaturAktuell

      javascript.0 2018-11-23 17:05:03.945 info script.js.WLAN: registered 0 subscriptions and 1 schedule

      javascript.0 2018-11-23 17:05:03.863 info Start javascript script.js.WLAN

      javascript.0 2018-11-23 17:05:03.862 info script.js.eth002_R2: registered 1 subscription and 0 schedules

      javascript.0 2018-11-23 17:05:03.777 info Start javascript script.js.eth002_R2

      javascript.0 2018-11-23 17:05:03.775 info script.js.in_zeit_auto_R2: registered 1 subscription and 1 schedule

      javascript.0 2018-11-23 17:05:03.689 info Start javascript script.js.in_zeit_auto_R2

      javascript.0 2018-11-23 17:05:03.688 info script.js.Steure_R2: registered 2 subscriptions and 0 schedules

      javascript.0 2018-11-23 17:05:03.606 info Start javascript script.js.Steure_R2

      javascript.0 2018-11-23 17:05:03.606 info script.js.Steure_R1: registered 1 subscription and 0 schedules

      javascript.0 2018-11-23 17:05:03.526 info Start javascript script.js.Steure_R1

      javascript.0 2018-11-23 17:05:03.525 info script.js.eth002_R1: registered 1 subscription and 0 schedules

      javascript.0 2018-11-23 17:05:03.442 info Start javascript script.js.eth002_R1

      javascript.0 2018-11-23 17:05:03.441 info script.js.PV_Leistung_Durchschnitt: registered 0 subscriptions and 1 schedule

      javascript.0 2018-11-23 17:05:03.357 info Start javascript script.js.PV_Leistung_Durchschnitt

      javascript.0 2018-11-23 17:05:03.356 info script.js.Sonneuntergang: registered 0 subscriptions and 1 schedule

      javascript.0 2018-11-23 17:05:03.262 info Start javascript script.js.Sonneuntergang

      javascript.0 2018-11-23 17:05:03.261 info script.js.Skalierung_Meter_Leistung: registered 0 subscriptions and 0 schedules

      javascript.0 2018-11-23 17:05:03.187 info Start javascript script.js.Skalierung_Meter_Leistung

      javascript.0 2018-11-23 17:05:03.186 info script.js.Skalierung_PV_Leistung: registered 0 subscriptions and 0 schedules

      javascript.0 2018-11-23 17:05:03.084 info Start javascript script.js.Skalierung_PV_Leistung

      javascript.0 2018-11-23 17:05:02.797 info received all objects

      host.raspberrypi 2018-11-23 17:05:01.856 info instance system.adapter.modbus.0 started with pid 23815

      javascript.0 2018-11-23 17:05:00.882 info received all states

      javascript.0 2018-11-23 17:04:59.805 info requesting all objects

      javascript.0 2018-11-23 17:04:59.797 info requesting all states

      javascript.0 2018-11-23 17:04:59.777 info starting. Version 3.6.4 in /opt/iobroker/node_modules/iobroker.javascript, node: v8.11.1

      host.raspberrypi 2018-11-23 17:04:54.971 info instance system.adapter.vis.0 terminated while should be started once

      vis.0 2018-11-23 17:04:53.927 info vis license is OK.

      host.raspberrypi 2018-11-23 17:04:53.855 info instance system.adapter.javascript.0 started with pid 23805

      vis.0 2018-11-23 17:04:53.635 info starting. Version 1.1.7 in /opt/iobroker/node_modules/iobroker.vis, node: v8.11.1

      admin.0 2018-11-23 17:04:52.916 info Repository received successfully.

      host.raspberrypi 2018-11-23 17:04:50.688 info Update repository "default" under "http://download.iobroker.net/sources-dist.json"

      web.0 2018-11-23 17:04:50.665 info http server listening on port 8082

      web.0 2018-11-23 17:04:50.659 info socket.io server listening on port 8082

      admin.0 2018-11-23 17:04:50.547 info Use link "http://localhost:8081" to configure.

      admin.0 2018-11-23 17:04:50.547 info http server listening on port 8081

      admin.0 2018-11-23 17:04:50.380 info received all objects

      web.0 2018-11-23 17:04:49.932 info starting. Version 2.4.1 in /opt/iobroker/node_modules/iobroker.web, node: v8.11.1

      web.0 2018-11-23 17:04:49.910 error setObject id missing!!

      admin.0 2018-11-23 17:04:48.267 info received all states

      admin.0 2018-11-23 17:04:46.592 info Request actual repository…

      admin.0 2018-11-23 17:04:46.590 info requesting all objects

      admin.0 2018-11-23 17:04:46.586 info requesting all states

      admin.0 2018-11-23 17:04:46.524 info starting. Version 3.5.10 in /opt/iobroker/node_modules/iobroker.admin, node: v8.11.1

      admin.0 2018-11-23 17:04:46.503 error setObject id missing!!

      host.raspberrypi 2018-11-23 17:04:45.851 info instance system.adapter.web.0 started with pid 23781

      host.raspberrypi 2018-11-23 17:04:41.906 info instance system.adapter.admin.0 started with pid 23775

      host.raspberrypi 2018-11-23 17:04:41.832 info starting 11 instances

      host.raspberrypi 2018-11-23 17:04:41.793 info 11 instances found

      host.raspberrypi 2018-11-23 17:04:41.759 info InMemoryDB connected

      host.raspberrypi 2018-11-23 17:04:41.737 info inMem-objects listening on port 9001

      host.raspberrypi 2018-11-23 17:04:41.249 info inMem-states listening on port 9000

      host.raspberrypi 2018-11-23 17:04:41.078 info ip addresses: 192.168.188.28 fe80::90f8:966e:754:6247

      host.raspberrypi 2018-11-23 17:04:41.072 info hostname: raspberrypi, node: v8.11.1

      host.raspberrypi 2018-11-23 17:04:41.072 info Copyright (c) 2014-2018 bluefox, 2014 hobbyquaker

      host.raspberrypi 2018-11-23 17:04:41.063 info iobroker.js-controller version 1.4.2 js-controller starting

      backitup.0 2018-11-23 17:02:39.669 info terminating with timeout

      host.raspberrypi 2018-11-23 17:02:38.375 info terminated

      host.raspberrypi 2018-11-23 17:02:38.260 info All instances are stopped.

      host.raspberrypi 2018-11-23 17:02:38.260 info instance system.adapter.tr-064.0 terminated with code 0 (OK)

      host.raspberrypi 2018-11-23 17:02:38.253 info All instances are stopped.

      host.raspberrypi 2018-11-23 17:02:38.253 info instance system.adapter.javascript.0 terminated with code 0 (OK)

      host.raspberrypi 2018-11-23 17:02:38.247 info All instances are stopped.

      host.raspberrypi 2018-11-23 17:02:38.246 info instance system.adapter.modbus.0 terminated with code 0 (OK)

      host.raspberrypi 2018-11-23 17:02:38.238 info All instances are stopped.

      host.raspberrypi 2018-11-23 17:02:38.238 info instance system.adapter.admin.0 terminated with code 0 (OK)

      backitup.0 2018-11-23 17:02:38.239 debug system.adapter.admin.0: logging false

      host.raspberrypi 2018-11-23 17:02:38.216 info All instances are stopped.

      host.raspberrypi 2018-11-23 17:02:38.215 info instance system.adapter.web.0 terminated with code 0 (OK)

      modbus.0 2018-11-23 17:02:38.182 info terminating

      javascript.0 2018-11-23 17:02:38.177 info terminating

      web.0 2018-11-23 17:02:38.172 info terminating

      admin.0 2018-11-23 17:02:38.170 info terminating

      host.raspberrypi 2018-11-23 17:02:38.165 info stopInstance canceled schedule system.adapter.daswetter.0

      host.raspberrypi 2018-11-23 17:02:38.165 info stopInstance system.adapter.daswetter.0

      host.raspberrypi 2018-11-23 17:02:38.162 info stopInstance system.adapter.backitup.0 killing pid 23684

      host.raspberrypi 2018-11-23 17:02:38.162 info stopInstance system.adapter.backitup.0

      host.raspberrypi 2018-11-23 17:02:38.161 info stopInstance system.adapter.parser.0 killing pid 16326

      host.raspberrypi 2018-11-23 17:02:38.160 info stopInstance system.adapter.parser.0

      host.raspberrypi 2018-11-23 17:02:38.160 info stopInstance system.adapter.vis-bars.0

      host.raspberrypi 2018-11-23 17:02:38.157 info stopInstance system.adapter.tr-064.0 killing pid 5938

      host.raspberrypi 2018-11-23 17:02:38.157 info stopInstance system.adapter.tr-064.0

      host.raspberrypi 2018-11-23 17:02:38.156 info stopInstance system.adapter.modbus.0 killing pid 23534

      host.raspberrypi 2018-11-23 17:02:38.156 info stopInstance system.adapter.modbus.0

      host.raspberrypi 2018-11-23 17:02:38.155 info stopInstance system.adapter.mobile.0

      host.raspberrypi 2018-11-23 17:02:38.155 info stopInstance system.adapter.javascript.0 killing pid 5918

      host.raspberrypi 2018-11-23 17:02:38.155 info stopInstance system.adapter.javascript.0

      host.raspberrypi 2018-11-23 17:02:38.154 info stopInstance system.adapter.vis.0

      host.raspberrypi 2018-11-23 17:02:38.152 info stopInstance system.adapter.web.0 killing pid 5894

      host.raspberrypi 2018-11-23 17:02:38.152 info stopInstance system.adapter.web.0

      host.raspberrypi 2018-11-23 17:02:38.148 info stopInstance system.adapter.admin.0 killing pid 5888

      host.raspberrypi 2018-11-23 17:02:38.147 info stopInstance system.adapter.admin.0

      web.0 2018-11-23 17:02:38.157 info terminated http server on port 8082

      web.0 2018-11-23 17:02:38.156 info terminating http server on port 8082

      admin.0 2018-11-23 17:02:38.151 info terminating http server on port 8081

      host.raspberrypi 2018-11-23 17:02:38.145 info received SIGTERM

      backitup.0 2018-11-23 17:02:35.477 debug [total] exec: done

      backitup.0 2018-11-23 17:02:20.817 debug [total] 10 15 04 */5 * *

      backitup.0 2018-11-23 17:02:20.802 info [total] backup was activated at 04:15 every 5 day(s)

      backitup.0 2018-11-23 17:02:20.801 debug [minimal] 10 00 04 */1 * *

      backitup.0 2018-11-23 17:02:20.733 info [minimal] backup was activated at 04:00 every 1 day(s)

      backitup.0 2018-11-23 17:02:20.207 info starting. Version 0.3.8 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.11.1

      backitup.0 2018-11-23 17:02:20.054 debug statesDB connected

      backitup.0 2018-11-23 17:02:19.981 debug objectDB connected

      host.raspberrypi 2018-11-23 17:02:16.415 info instance system.adapter.backitup.0 started with pid 23684

      host.raspberrypi 2018-11-23 17:02:14.433 info instance system.adapter.backitup.0 terminated with code 0 (OK)

      host.raspberrypi 2018-11-23 17:02:13.882 info stopInstance system.adapter.backitup.0 killing pid 5958

      host.raspberrypi 2018-11-23 17:02:13.881 info stopInstance system.adapter.backitup.0

      host.raspberrypi 2018-11-23 17:02:13.880 info object change system.adapter.backitup.0

      host.raspberrypi 2018-11-23 17:00:12.805 info instance system.adapter.daswetter.0 terminated with code 0 (OK) `

      1 Reply Last reply Reply Quote 0
      • simatec
        simatec Developer Most Active last edited by

        Laut Log findet kein umount statt.

        Kannst du den Log vom minimal mal bitte noch posten

        Gesendet von iPhone mit Tapatalk

        1 Reply Last reply Reply Quote 0
        • Diginix
          Diginix last edited by

          @Diginix:

          Habe eingestellt dass 30 Backups aufgehoben werden sollen. Auf der SD Karte des Raspberry sind es auch genau 30, aber in der Dropbox bereits 32. Das Namensschema passt bei allen 32 und sie wurden auch alle vom Adapter erzeugt. Ich beobachte das mal noch paar Tage, aber vermutlich wird es in der Dropbox weiter zunehmen. `
          Mittlerweile sind es 39 Backups in der Dropbox und die eingestellten letzten 30 stimmen nur auf der Raspi SD Karte.

          Was muss ich einstellen, damit auch in der Dropbox das Limit beachtet wird und von hinten weg gelöscht wird?

          1 Reply Last reply Reply Quote 0
          • H
            hmanfred last edited by

            @sol21:

            …Nun wird das Standardbackup am Tag nach dem Komplettbackup nochmals ins Verzeichnis des Komplettbackups kopiert... `

            Kann ich bestätigen. Ist bei mir heute - nach dem ersten Komplettbackup gestern - auch so.

            1 Reply Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active last edited by

              @Diginix:

              @Diginix:

              Habe eingestellt dass 30 Backups aufgehoben werden sollen. Auf der SD Karte des Raspberry sind es auch genau 30, aber in der Dropbox bereits 32. Das Namensschema passt bei allen 32 und sie wurden auch alle vom Adapter erzeugt. Ich beobachte das mal noch paar Tage, aber vermutlich wird es in der Dropbox weiter zunehmen. `
              Mittlerweile sind es 39 Backups in der Dropbox und die eingestellten letzten 30 stimmen nur auf der Raspi SD Karte.

              Was muss ich einstellen, damit auch in der Dropbox das Limit beachtet wird und von hinten weg gelöscht wird? `

              Hast du das löschen auf der Dropbox aktiviert?

              1 Reply Last reply Reply Quote 0
              • simatec
                simatec Developer Most Active last edited by

                @hmanfred:

                @sol21:

                …Nun wird das Standardbackup am Tag nach dem Komplettbackup nochmals ins Verzeichnis des Komplettbackups kopiert... `

                Kann ich bestätigen. Ist bei mir heute - nach dem ersten Komplettbackup gestern - auch so. `

                Bitte auch ein Log posten.

                1 Reply Last reply Reply Quote 0
                • Diginix
                  Diginix last edited by

                  @simatec:

                  Hast du das löschen auf der Dropbox aktiviert? `
                  Nö 😮 Aber jetzt. 😉

                  1 Reply Last reply Reply Quote 0
                  • S
                    sol21 last edited by

                    hier noch zusätzliche Logs von meinem "Backup-Pfad-Problem" weiter oben.

                    Dabei lies ich beide Backups automatisch über Nacht laufen (4:00Uhr = Standardbackup und 4:15Uhr = Komplettbackup)

                    Auf der NAS lagen heute morgen beide Backups im Ordner der Komplettbackups.

                    ! ` > backitup.0 2018-11-24 08:20:56.836 debug system.adapter.admin.0: logging true

                    backitup.0 2018-11-24 07:42:20.785 debug system.adapter.admin.0: logging false

                    backitup.0 2018-11-24 07:37:06.560 debug system.adapter.admin.0: logging true

                    backitup.0 2018-11-24 07:36:40.744 debug system.adapter.admin.0: logging false

                    backitup.0 2018-11-24 07:33:48.572 debug system.adapter.admin.0: logging true

                    backitup.0 2018-11-24 04:18:06.332 debug [total/history] backitup.0.history.html

                    backitup.0 2018-11-24 04:18:06.213 debug [total] 10 15 04 */1 * *

                    backitup.0 2018-11-24 04:18:06.196 info [total] backup was activated at 04:15 every 1 day(s)

                    backitup.0 2018-11-24 04:18:06.195 debug [minimal] 10 00 04 */1 * *

                    backitup.0 2018-11-24 04:18:06.151 info [minimal] backup was activated at 04:00 every 1 day(s)

                    backitup.0 2018-11-24 04:18:06.120 debug [total/email] done

                    backitup.0 2018-11-24 04:18:05.243 debug [DEBUG] [total/email] done

                    backitup.0 2018-11-24 04:18:05.243 debug [DEBUG] [total/start] done

                    backitup.0 2018-11-24 04:18:05.243 debug [DEBUG] [total/clean] done

                    backitup.0 2018-11-24 04:18:05.243 debug [DEBUG] [total/cifs] done

                    backitup.0 2018-11-24 04:18:05.242 debug [DEBUG] [total/total] done

                    backitup.0 2018-11-24 04:18:05.242 debug [DEBUG] [total/total] Ignore dir: /opt/iobroker/backups

                    backitup.0 2018-11-24 04:18:05.241 debug [DEBUG] [total/total] TAR started…

                    backitup.0 2018-11-24 04:18:05.240 debug [DEBUG] [total/mount] done

                    backitup.0 2018-11-24 04:18:05.236 debug Printing logs of previous backup

                    backitup.0 2018-11-24 04:18:05.226 info starting. Version 0.3.8 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.11.1

                    backitup.0 2018-11-24 04:18:05.066 debug statesDB connected

                    backitup.0 2018-11-24 04:18:04.993 debug objectDB connected

                    backitup.0 2018-11-24 04:15:13.764 info terminating

                    backitup.0 2018-11-24 04:15:13.361 debug system.adapter.admin.0: logging false

                    backitup.0 2018-11-24 04:15:10.066 debug [total] exec: done

                    backitup.0 2018-11-24 04:00:38.266 debug [minimal] exec: done

                    backitup.0 2018-11-24 04:00:38.264 debug [minimal/umount] done

                    backitup.0 2018-11-24 04:00:28.076 debug [minimal/history] backitup.0.history.html

                    backitup.0 2018-11-24 04:00:28.055 debug [minimal/email] done

                    backitup.0 2018-11-24 04:00:28.048 debug [minimal/clean] done

                    backitup.0 2018-11-24 04:00:28.029 debug [minimal/cifs] done

                    backitup.0 2018-11-24 04:00:28.025 debug [minimal/minimal] done

                    backitup.0 2018-11-24 04:00:27.896 debug [minimal/minimal] Backup created: /opt/iobroker/backups/minimal_2018_11_24-04_00_20_Standard_backupiobroker.tar.gz

                    backitup.0 2018-11-24 04:00:20.628 debug [minimal/mount] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

                    backitup.0 2018-11-24 04:00:20.627 debug [minimal/mount] mount error(95): Operation not supported

                    backitup.0 2018-11-24 04:00:20.627 debug [minimal/mount] [IGNORED] Error: Command failed: mount -t cifs -o user=raspberry,password=xxx,rw,file_mode=0777,dir_mode=0777 //192.168.188.40/Backup/iobroker/standard/ /opt/iobroker/backups

                    backitup.0 2018-11-24 04:00:20.624 debug [minimal/mount] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

                    backitup.0 2018-11-24 04:00:20.622 debug [minimal/mount] [undefined mount error(95): Operation not supported `

                    1 Reply Last reply Reply Quote 0
                    • H
                      hmanfred last edited by

                      Weiter oben habe ich den Wunsch nach einem Datenpunkt geäußert, der einen erfolgreichen Backup als boolschen Wert anzeigt:

                      @hmanfred:

                      …Analog dazu würde ich mir je Backupart einen Datenpunkt "LastBackupSuccess" in den Objekten von Backitup wünschen. `

                      Mir wurde dazu geantwortet, dass ich dazu doch die History-Datenpunkte (z.B. backitup.0.history.minimalLastTime) des letzten Backups verwenden und weiter verarbeiten könnte.

                      Nun habe ich festgestellt, dass diese Datenpunkte auch beschrieben werden, wenn der Backup fehlschlägt. Provoziert habe ich das durch Wegnahme des Network-share und anschließendes manuelles Anstoßen des Backups.

                      Gibt es denn nun irgendeinen Datenpunkt, der mir einen erfolgreichen Backup - wie auch immer - darstellt?

                      Falls nein, fände ich die von mir vorgeschlagenen Datenpunkte schon wichtig.

                      Gruß

                      Manfred

                      1 Reply Last reply Reply Quote 0
                      • simatec
                        simatec Developer Most Active last edited by

                        Schauen wir uns an …

                        Gesendet von iPhone mit Tapatalk

                        1 Reply Last reply Reply Quote 0
                        • fu_zhou
                          fu_zhou last edited by

                          Kürzlich war die Festplatte voll - nix ging mehr. Habe dann mit ncdu rausgefunden, dass /opt/iobroker/backups der Übeltäter ist. Backitup löscht zwar die Backups auf dem NAS-Server gem. Adaptereinstellung jedoch scheinbar nicht unter /opt/iobroker/backups. Habe ich da was übersehen oder fehlt noch die Funktion im Adapter "lokale Backups nach erfolgreichem Kopieren auf den NAS löschen".

                          Danke und Gruß!

                          1 Reply Last reply Reply Quote 0
                          • simatec
                            simatec Developer Most Active last edited by

                            Wie kommen denn deine Backups auf den NAS?

                            FTP oder per mount via cifs oder nfs?

                            Gesendet von iPhone mit Tapatalk

                            1 Reply Last reply Reply Quote 0
                            • S
                              sol21 last edited by

                              Bin jetzt nicht ganz sicher an wehn die Frage ging. Bei mir ist es aber CIFS.

                              1 Reply Last reply Reply Quote 0
                              • fu_zhou
                                fu_zhou last edited by

                                Bei mir per FTP auf den NAS. In den Haupteinstellungen gibt es noch NAS / Copy - bei mir allerdings deaktiviert. Gäbe es da die Option, lokale Backups zu löschen?
                                356_bildschirmfoto_vom_2018-11-25_08-33-08.png

                                1 Reply Last reply Reply Quote 0
                                • simatec
                                  simatec Developer Most Active last edited by

                                  @fu_zhou:

                                  Bei mir per FTP auf den NAS. In den Haupteinstellungen gibt es noch NAS / Copy - bei mir allerdings deaktiviert. Gäbe es da die Option, lokale Backups zu löschen?
                                  filename="Bildschirmfoto vom 2018-11-25 08-33-08.png" index="0">~~ `

                                  Erstellst du die backups manuell oder per cronjob?

                                  Gesendet von iPhone mit Tapatalk

                                  1 Reply Last reply Reply Quote 0
                                  • fu_zhou
                                    fu_zhou last edited by

                                    ich denke mal per cronjob - konfiguriert im Adapter.
                                    356_bildschirmfoto_vom_2018-11-25_09-33-44.png
                                    356_bildschirmfoto_vom_2018-11-25_09-34-09.png

                                    so sieht's lokal aus:
                                    356_bildschirmfoto_vom_2018-11-25_09-37-10.png

                                    Auf dem NAS sind die Backups drauf.

                                    Aber das letzte Komplett-Backup ist älter als 3 Tage sehe ich gerade. Es gibt Backups im 3-Tage-Abstand aber auch größere Lücken. Ich habe bei Komplett-Backup erst vor Kurzem auf 3 Stück reduziert, vorher waren da 9 konfiguriert. Daher gibt es mehr als 3 Komplett-Backups. Allerdings hat der Adapter nach Umstellen von 9 auf 3 nicht erkannt, dass mehr als 3 alte Backups da sind und die Alten dann nicht gelöscht.
                                    356_bildschirmfoto_vom_2018-11-25_09-41-46.png

                                    1 Reply Last reply Reply Quote 0
                                    • simatec
                                      simatec Developer Most Active last edited by

                                      Ändere mal den Namenszusatz.

                                      Denke der unterstrich im Namenzusatz verwirrt die Routine

                                      Gesendet von iPhone mit Tapatalk

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        sol21 last edited by

                                        Habe versucht das Problem mit dem Backup-Pfad weiter einzugrenzen:

                                        • Tritt tatsächlich immer wenn das standardbackup nach einem komplettbackup gemacht wird.

                                        • spielt keine Rolle ob das Backup seitgesteuert ausgelöst wird oder via "jetzt Sichern Button" im Adapter

                                        Aktuelles Log von einem Kompettbackup gefolgt von zwei mal Standardbackups:

                                        ! ` > backitup.0 2018-11-25 10:53:53.127 info terminating

                                        backitup.0 2018-11-25 10:52:35.119 debug [minimal] exec: done

                                        backitup.0 2018-11-25 10:52:35.116 debug [minimal/umount] done

                                        backitup.0 2018-11-25 10:52:25.034 debug [minimal/history] backitup.0.history.html

                                        backitup.0 2018-11-25 10:52:25.009 debug [minimal/email] done

                                        backitup.0 2018-11-25 10:52:25.002 debug [minimal/clean] done

                                        backitup.0 2018-11-25 10:52:24.997 debug [minimal/cifs] done

                                        backitup.0 2018-11-25 10:52:24.994 debug [minimal/minimal] done

                                        backitup.0 2018-11-25 10:52:24.885 debug [minimal/minimal] Backup created: /opt/iobroker/backups/minimal_2018_11_25-10_52_17_backupiobroker.tar.gz

                                        backitup.0 2018-11-25 10:52:17.858 debug [minimal/mount] done

                                        backitup.0 2018-11-25 10:50:38.506 debug [minimal] exec: done

                                        backitup.0 2018-11-25 10:50:38.501 debug [minimal/umount] done

                                        backitup.0 2018-11-25 10:50:28.394 debug [minimal/history] backitup.0.history.html

                                        backitup.0 2018-11-25 10:50:28.366 debug [minimal/email] done

                                        backitup.0 2018-11-25 10:50:28.361 debug [minimal/clean] done

                                        backitup.0 2018-11-25 10:50:28.355 debug [minimal/cifs] done

                                        backitup.0 2018-11-25 10:50:28.349 debug [minimal/minimal] done

                                        backitup.0 2018-11-25 10:50:28.236 debug [minimal/minimal] Backup created: /opt/iobroker/backups/minimal_2018_11_25-10_50_21_backupiobroker.tar.gz

                                        backitup.0 2018-11-25 10:50:21.171 debug [minimal/mount] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

                                        backitup.0 2018-11-25 10:50:21.171 debug [minimal/mount] mount error(95): Operation not supported

                                        backitup.0 2018-11-25 10:50:21.170 debug [minimal/mount] [IGNORED] Error: Command failed: mount -t cifs -o user=raspberry,password=XXX,rw,file_mode=0777,dir_mode=0777 //192.168.188.40/Backup/iobroker/standard/ /opt/iobroker/backups

                                        backitup.0 2018-11-25 10:50:21.168 debug [minimal/mount] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

                                        backitup.0 2018-11-25 10:50:21.167 debug [minimal/mount] [undefined mount error(95): Operation not supported

                                        backitup.0 2018-11-25 10:49:40.733 debug system.adapter.admin.0: logging false

                                        backitup.0 2018-11-25 10:47:54.183 debug [total/history] backitup.0.history.html

                                        backitup.0 2018-11-25 10:47:54.041 debug [total] 10 45 10 */1 * *

                                        backitup.0 2018-11-25 10:47:54.024 info [total] backup was activated at 10:45 every 1 day(s)

                                        backitup.0 2018-11-25 10:47:54.024 debug [minimal] 10 38 10 */1 * *

                                        backitup.0 2018-11-25 10:47:53.978 info [minimal] backup was activated at 10:38 every 1 day(s)

                                        backitup.0 2018-11-25 10:47:53.939 debug [total/email] done

                                        backitup.0 2018-11-25 10:47:53.044 debug [DEBUG] [total/email] done

                                        backitup.0 2018-11-25 10:47:53.043 debug [DEBUG] [total/start] done

                                        backitup.0 2018-11-25 10:47:53.043 debug [DEBUG] [total/clean] done

                                        backitup.0 2018-11-25 10:47:53.043 debug [DEBUG] [total/cifs] done

                                        backitup.0 2018-11-25 10:47:53.043 debug [DEBUG] [total/total] done

                                        backitup.0 2018-11-25 10:47:53.042 debug [DEBUG] [total/total] Ignore dir: /opt/iobroker/backups

                                        backitup.0 2018-11-25 10:47:53.042 debug [DEBUG] [total/total] TAR started…

                                        backitup.0 2018-11-25 10:47:53.040 debug [DEBUG] [total/mount] done

                                        backitup.0 2018-11-25 10:47:53.036 debug Printing logs of previous backup

                                        backitup.0 2018-11-25 10:47:53.026 info starting. Version 0.3.8 in /opt/iobroker/node_modules/iobroker.backitup, node: v8.11.1

                                        backitup.0 2018-11-25 10:47:52.867 debug statesDB connected

                                        backitup.0 2018-11-25 10:47:52.793 debug objectDB connected

                                        backitup.0 2018-11-25 10:45:13.746 info terminating

                                        backitup.0 2018-11-25 10:45:13.327 debug system.adapter.admin.0: logging false

                                        backitup.0 2018-11-25 10:45:10.050 debug [total] exec: done `

                                        PS: das Komplettbackup von 10:45 sieht man im log nicht richtig (nehme an da der IOBroker gestoppt ist)

                                        Man sieht beim ersten Standartbackup, dass er das Verzeichnis irgendwie nicht verbinden kann. Nehme an, dass er dann das Backup trotzdem weitermacht und das letzte Verzeichnis verwendet (das ist dann noch vom Komplettbackup).

                                        Die Anmeldeinformation scheinen ja zu stimmen, sonst würde er beim zweiten Standardbackup das gleiche Problem haben.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sol21 last edited by

                                          Habe soeben folgendes rausgefunden:

                                          Das Problem tritt scheinbar nur auf wenn im Adapter unter Komlettbackup "ioBroker Stop bei einem Backup" angewählt ist.

                                          1 Reply Last reply Reply Quote 0
                                          • Peoples
                                            Peoples last edited by

                                            Also ich habe auf Grund der Beiträge nun auf meiner Test- sowie meiner Produktiv-Umgebung zahlreiche automatische Backups durchlaufen lassen und benutze ebenfalls die IoBroker stop Funktion. Leider kann ich dein Problem nicht nachstellen.

                                            Ich hatte damals nach einem Versionssprung das gleiche Problem. Bei mir kam es damals daher dass wir die Strings der Dateinamen auf Grund der Weiterverarbeitung geändert hatten und die "Alten Dateien" nicht mehr eingelesen und somit auch nicht gelöscht wurden.

                                            Um herraus zu finden was der Grund für das von dir Beschriebene ist müssen wir bissl rumtesten weil ich es eben nicht nachstellen kann.

                                            Geh doch mal bitte via SCP (winscp o.ä) auf deinen IoBroker und Prüfe ob die Rechte des Backup-Ordners sowie die Rechte der erstellten Dateien alle passen.

                                            Im nächsten Step versuch mal bitte alle vorhandenen Backups händisch zu entfernen dass der Ordner leer ist und beobachte ob nach dem erreichen der eingestellten Anzahl von Backups das Löschen wieder funktioniert.

                                            Nur nebenbei zur Info:

                                            Wenn du den Button für "Backup erstellen" benutzt um Backups anzulegen, werden keine alten Backups gelöscht. Die Löschfunktion greift bewusst nur wenn die Backups "automatisiert" erstellt werden.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            627
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter backitup backup iobroker backup iobroker.backitup
                                            185
                                            2335
                                            826638
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo