Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [gelöst] iobroker Backup auf andere SSD

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    737

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.0k

[gelöst] iobroker Backup auf andere SSD

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
17 Beiträge 2 Kommentatoren 960 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • D DGR

    @thomas-braun
    habe gerade rebbot gemacht. Dann backup:

    12:23:39.904INFOguiBackup gestartet ...
    12:23:39.964DEBUGmountdone
    12:23:41.002DEBUGiobrokerhost.raspi2 338 objects saved
    12:23:41.024DEBUGiobrokerhost.raspi2 237 states saved
    12:23:41.026DEBUGiobrokerhost.raspi2 Validating backup ...
    12:23:41.068DEBUGiobrokerhost.raspi2 "config.json" is valid
    12:23:41.071DEBUGiobrokerhost.raspi2 "objects.jsonl" exists
    12:23:41.073DEBUGiobrokerhost.raspi2 "states.jsonl" exists
    12:23:41.125DEBUGiobrokerhost.raspi2 JSONL lines are valid
    12:23:41.128DEBUGiobrokerhost.raspi2 The backup is valid!
    12:23:41.288DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2024_12_01-12_23_42_backupiobroker.tar.gz
    12:23:41.334DEBUGiobrokerThis backup can only be restored with js-controller version 7.0 or higher
    12:23:42.295DEBUGiobrokerdone
    12:23:43.225DEBUGhistoryDBcompress from historyDB started ...
    12:23:43.227DEBUGhistoryDBBackup created: /opt/iobroker/backups/historyDB_2024_12_01-12_23_45_backupiobroker.tar.gz
    12:23:43.268DEBUGhistoryDBdone
    12:23:44.128DEBUGjavascriptsCreated javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
    12:23:44.180DEBUGjavascriptsTry deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
    12:23:44.181DEBUGjavascriptsJavascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
    12:23:44.224DEBUGjavascriptsBackup created: /opt/iobroker/backups/javascripts_2024_12_01-12_23_46_backupiobroker.tar.gz
    12:23:44.226DEBUGjavascriptsdone
    12:23:45.114ERRORcifsError: EACCES: permission denied, open '/mnt/SSD2/iobroker-backup/historyDB_2024_12_01-12_23_45_backupiobroker.tar.gz'
    12:23:45.132DEBUGcifsCopy javascripts_2024_12_01-12_23_46_backupiobroker.tar.gz...
    12:23:45.133ERRORcifsError: EACCES: permission denied, open '/mnt/SSD2/iobroker-backup/javascripts_2024_12_01-12_23_46_backupiobroker.tar.gz'
    12:23:45.135DEBUGcifsdone
    12:23:45.698ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors.
    12:23:45.732DEBUGcleandone
    12:23:45.862DEBUGhistoryHTMLnew history html values created
    12:23:45.950DEBUGhistoryHTMLdone
    12:23:46.108DEBUGhistoryJSONnew history json values created
    12:23:46.195DEBUGhistoryJSONdone
    12:23:46.258DEBUGumountdone
    12:23:47.314DEBUGtelegramdone
    12:23:48.620DEBUGnotificationAdmin notification will be sent
    12:23:48.664DEBUGnotificationdone
    12:23:48.782INFOguiDas Backup wurde erfolgreich erstellt!
    
    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #8

    @dgr sagte in iobroker Backup auf andere SSD:

    /mnt/SSD2/iobroker-backup/historyDB_2024_12_01-12_23_45_backupiobroker.tar.gz

    Welche Rechte hat denn die Datei?

    ls -l /mnt/SSD2/iobroker-backup/historyDB_2024_12_01-12_23_45_backupiobroker.tar.gz
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    D 1 Antwort Letzte Antwort
    0
    • D DGR

      @thomas-braun
      habe gerade rebbot gemacht. Dann backup:

      12:23:39.904INFOguiBackup gestartet ...
      12:23:39.964DEBUGmountdone
      12:23:41.002DEBUGiobrokerhost.raspi2 338 objects saved
      12:23:41.024DEBUGiobrokerhost.raspi2 237 states saved
      12:23:41.026DEBUGiobrokerhost.raspi2 Validating backup ...
      12:23:41.068DEBUGiobrokerhost.raspi2 "config.json" is valid
      12:23:41.071DEBUGiobrokerhost.raspi2 "objects.jsonl" exists
      12:23:41.073DEBUGiobrokerhost.raspi2 "states.jsonl" exists
      12:23:41.125DEBUGiobrokerhost.raspi2 JSONL lines are valid
      12:23:41.128DEBUGiobrokerhost.raspi2 The backup is valid!
      12:23:41.288DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2024_12_01-12_23_42_backupiobroker.tar.gz
      12:23:41.334DEBUGiobrokerThis backup can only be restored with js-controller version 7.0 or higher
      12:23:42.295DEBUGiobrokerdone
      12:23:43.225DEBUGhistoryDBcompress from historyDB started ...
      12:23:43.227DEBUGhistoryDBBackup created: /opt/iobroker/backups/historyDB_2024_12_01-12_23_45_backupiobroker.tar.gz
      12:23:43.268DEBUGhistoryDBdone
      12:23:44.128DEBUGjavascriptsCreated javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
      12:23:44.180DEBUGjavascriptsTry deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
      12:23:44.181DEBUGjavascriptsJavascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
      12:23:44.224DEBUGjavascriptsBackup created: /opt/iobroker/backups/javascripts_2024_12_01-12_23_46_backupiobroker.tar.gz
      12:23:44.226DEBUGjavascriptsdone
      12:23:45.114ERRORcifsError: EACCES: permission denied, open '/mnt/SSD2/iobroker-backup/historyDB_2024_12_01-12_23_45_backupiobroker.tar.gz'
      12:23:45.132DEBUGcifsCopy javascripts_2024_12_01-12_23_46_backupiobroker.tar.gz...
      12:23:45.133ERRORcifsError: EACCES: permission denied, open '/mnt/SSD2/iobroker-backup/javascripts_2024_12_01-12_23_46_backupiobroker.tar.gz'
      12:23:45.135DEBUGcifsdone
      12:23:45.698ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors.
      12:23:45.732DEBUGcleandone
      12:23:45.862DEBUGhistoryHTMLnew history html values created
      12:23:45.950DEBUGhistoryHTMLdone
      12:23:46.108DEBUGhistoryJSONnew history json values created
      12:23:46.195DEBUGhistoryJSONdone
      12:23:46.258DEBUGumountdone
      12:23:47.314DEBUGtelegramdone
      12:23:48.620DEBUGnotificationAdmin notification will be sent
      12:23:48.664DEBUGnotificationdone
      12:23:48.782INFOguiDas Backup wurde erfolgreich erstellt!
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #9

      @dgr

      Näheres findet sich ausführlich im ubuntu-wiki:

      https://wiki.ubuntuusers.de/mount/

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @dgr sagte in iobroker Backup auf andere SSD:

        /mnt/SSD2/iobroker-backup/historyDB_2024_12_01-12_23_45_backupiobroker.tar.gz

        Welche Rechte hat denn die Datei?

        ls -l /mnt/SSD2/iobroker-backup/historyDB_2024_12_01-12_23_45_backupiobroker.tar.gz
        
        D Offline
        D Offline
        DGR
        schrieb am zuletzt editiert von
        #10

        @thomas-braun
        Die Datei gibt es nicht, war ja bei Erstellung Zugriff verweigert

        Thomas BraunT 2 Antworten Letzte Antwort
        0
        • D DGR

          @thomas-braun
          Die Datei gibt es nicht, war ja bei Erstellung Zugriff verweigert

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #11

          @dgr

          Funktioniert das manuelle mounten?

          ls -l /mnt/SSD2
          umount /mnt/SSD2
          mount /mnt/SSD2
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          D 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @dgr

            Funktioniert das manuelle mounten?

            ls -l /mnt/SSD2
            umount /mnt/SSD2
            mount /mnt/SSD2
            
            D Offline
            D Offline
            DGR
            schrieb am zuletzt editiert von
            #12

            @thomas-braun

            pi@raspi2:~ $ ls -l /mnt/SSD2
            insgesamt 28
            drwxr-xr-x  2 root root  4096 28. Nov 19:11 iobroker-backup
            drwxr-xr-x  2 root root  4096  1. Dez 10:14 iobroker-history
            drwx------  2 root root 16384 23. Nov 08:51 lost+found
            drwxr-xr-x 11 root root  4096  1. Dez 03:31 raspi2
            pi@raspi2:~ $ umount /mnt/SSD2
            pi@raspi2:~ $ mount /mnt/SSD2
            pi@raspi2:~ $
            
            
            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • D DGR

              @thomas-braun
              Die Datei gibt es nicht, war ja bei Erstellung Zugriff verweigert

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #13

              @dgr

              Ich mounte eine SMB-Freigabe z. B. mit uid und gid Optionen:

              //fritz.nas/FRITZ.NAS/Hitachi-HTS545012B9SA00-01/iobbackups/chet /opt/iobroker/backups cifs credentials=/home/iobroker/.smbcredentials,users,noserverino,noauto,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0770,dir_mode=0770,vers=3.1.1 0 0
              

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              1 Antwort Letzte Antwort
              0
              • D DGR

                @thomas-braun

                pi@raspi2:~ $ ls -l /mnt/SSD2
                insgesamt 28
                drwxr-xr-x  2 root root  4096 28. Nov 19:11 iobroker-backup
                drwxr-xr-x  2 root root  4096  1. Dez 10:14 iobroker-history
                drwx------  2 root root 16384 23. Nov 08:51 lost+found
                drwxr-xr-x 11 root root  4096  1. Dez 03:31 raspi2
                pi@raspi2:~ $ umount /mnt/SSD2
                pi@raspi2:~ $ mount /mnt/SSD2
                pi@raspi2:~ $
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von Thomas Braun
                #14

                @dgr

                Die Dateien dürfen nicht root gehören.
                Jedenfalls nicht mit den Rechten.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                D 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @dgr

                  Die Dateien dürfen nicht root gehören.
                  Jedenfalls nicht mit den Rechten.

                  D Offline
                  D Offline
                  DGR
                  schrieb am zuletzt editiert von
                  #15

                  @thomas-braun
                  läuft jetzt:

                  12:44:53.640INFOguiBackup gestartet ...
                  12:44:53.650DEBUGmountdone
                  12:44:54.697DEBUGiobrokerhost.raspi2 338 objects saved
                  12:44:54.701DEBUGiobrokerhost.raspi2 237 states saved
                  12:44:54.703DEBUGiobrokerhost.raspi2 Validating backup ...
                  12:44:54.704DEBUGiobrokerhost.raspi2 "config.json" is valid
                  12:44:54.707DEBUGiobrokerhost.raspi2 "objects.jsonl" exists
                  host.raspi2 "states.jsonl" exists
                  12:44:54.803DEBUGiobrokerhost.raspi2 JSONL lines are valid
                  host.raspi2 The backup is valid!
                  12:44:54.961DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2024_12_01-12_44_55_backupiobroker.tar.gz
                  12:44:55.005DEBUGiobrokerThis backup can only be restored with js-controller version 7.0 or higher
                  12:44:55.970DEBUGiobrokerdone
                  12:44:56.873DEBUGhistoryDBcompress from historyDB started ...
                  12:44:56.876DEBUGhistoryDBBackup created: /opt/iobroker/backups/historyDB_2024_12_01-12_44_58_backupiobroker.tar.gz
                  12:44:56.917DEBUGhistoryDBdone
                  12:44:57.776DEBUGjavascriptsCreated javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
                  12:44:57.825DEBUGjavascriptsTry deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
                  12:44:57.865DEBUGjavascriptsJavascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
                  12:44:57.867DEBUGjavascriptsdone
                  12:44:58.728DEBUGcifsused copy path: /mnt/SSD2/iobroker-backup
                  12:44:58.735DEBUGcifsCopy iobroker_2024_12_01-12_44_55_backupiobroker.tar.gz...
                  12:44:58.737DEBUGcifsCopy historyDB_2024_12_01-12_44_58_backupiobroker.tar.gz...
                  12:44:58.740DEBUGcifsCopy javascripts_2024_12_01-12_44_59_backupiobroker.tar.gz...
                  12:44:58.742DEBUGcifsdone
                  12:44:59.356DEBUGcleandone
                  12:44:59.493DEBUGhistoryHTMLnew history html values created
                  12:44:59.539DEBUGhistoryHTMLdone
                  12:44:59.695DEBUGhistoryJSONnew history json values created
                  12:44:59.737DEBUGhistoryJSONdone
                  12:44:59.844DEBUGumountdone
                  12:45:00.900DEBUGtelegramdone
                  12:45:02.203DEBUGnotificationdone
                  12:45:02.353INFOguiDas Backup wurde erfolgreich erstellt!
                  

                  Änderung war :
                  sudo chmod a+rwx /mnt/SSD2/iobroker-backup
                  sudo chmod a+rwx /mnt/SSD2/iobroker-history

                  pi@raspi2:~ $ ls -l /mnt/SSD2
                  insgesamt 28
                  drwxrwxrwx  2 root root  4096  1. Dez 12:45 iobroker-backup
                  drwxrwxrwx  2 root root  4096  1. Dez 10:14 iobroker-history
                  drwx------  2 root root 16384 23. Nov 08:51 lost+found
                  drwxr-xr-x 11 root root  4096  1. Dez 03:31 raspi2
                  
                  

                  Danke für die Hilfe.

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • D DGR

                    @thomas-braun
                    läuft jetzt:

                    12:44:53.640INFOguiBackup gestartet ...
                    12:44:53.650DEBUGmountdone
                    12:44:54.697DEBUGiobrokerhost.raspi2 338 objects saved
                    12:44:54.701DEBUGiobrokerhost.raspi2 237 states saved
                    12:44:54.703DEBUGiobrokerhost.raspi2 Validating backup ...
                    12:44:54.704DEBUGiobrokerhost.raspi2 "config.json" is valid
                    12:44:54.707DEBUGiobrokerhost.raspi2 "objects.jsonl" exists
                    host.raspi2 "states.jsonl" exists
                    12:44:54.803DEBUGiobrokerhost.raspi2 JSONL lines are valid
                    host.raspi2 The backup is valid!
                    12:44:54.961DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2024_12_01-12_44_55_backupiobroker.tar.gz
                    12:44:55.005DEBUGiobrokerThis backup can only be restored with js-controller version 7.0 or higher
                    12:44:55.970DEBUGiobrokerdone
                    12:44:56.873DEBUGhistoryDBcompress from historyDB started ...
                    12:44:56.876DEBUGhistoryDBBackup created: /opt/iobroker/backups/historyDB_2024_12_01-12_44_58_backupiobroker.tar.gz
                    12:44:56.917DEBUGhistoryDBdone
                    12:44:57.776DEBUGjavascriptsCreated javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
                    12:44:57.825DEBUGjavascriptsTry deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
                    12:44:57.865DEBUGjavascriptsJavascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
                    12:44:57.867DEBUGjavascriptsdone
                    12:44:58.728DEBUGcifsused copy path: /mnt/SSD2/iobroker-backup
                    12:44:58.735DEBUGcifsCopy iobroker_2024_12_01-12_44_55_backupiobroker.tar.gz...
                    12:44:58.737DEBUGcifsCopy historyDB_2024_12_01-12_44_58_backupiobroker.tar.gz...
                    12:44:58.740DEBUGcifsCopy javascripts_2024_12_01-12_44_59_backupiobroker.tar.gz...
                    12:44:58.742DEBUGcifsdone
                    12:44:59.356DEBUGcleandone
                    12:44:59.493DEBUGhistoryHTMLnew history html values created
                    12:44:59.539DEBUGhistoryHTMLdone
                    12:44:59.695DEBUGhistoryJSONnew history json values created
                    12:44:59.737DEBUGhistoryJSONdone
                    12:44:59.844DEBUGumountdone
                    12:45:00.900DEBUGtelegramdone
                    12:45:02.203DEBUGnotificationdone
                    12:45:02.353INFOguiDas Backup wurde erfolgreich erstellt!
                    

                    Änderung war :
                    sudo chmod a+rwx /mnt/SSD2/iobroker-backup
                    sudo chmod a+rwx /mnt/SSD2/iobroker-history

                    pi@raspi2:~ $ ls -l /mnt/SSD2
                    insgesamt 28
                    drwxrwxrwx  2 root root  4096  1. Dez 12:45 iobroker-backup
                    drwxrwxrwx  2 root root  4096  1. Dez 10:14 iobroker-history
                    drwx------  2 root root 16384 23. Nov 08:51 lost+found
                    drwxr-xr-x 11 root root  4096  1. Dez 03:31 raspi2
                    
                    

                    Danke für die Hilfe.

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #16

                    @dgr

                    Freigabe für Hinz-und-Kunz und alle und jeden geht natürlich immer.
                    Ist aber ja nicht der Sinn von Rrechten und Rollen.
                    Aber wenn es so reicht...

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    D 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @dgr

                      Freigabe für Hinz-und-Kunz und alle und jeden geht natürlich immer.
                      Ist aber ja nicht der Sinn von Rrechten und Rollen.
                      Aber wenn es so reicht...

                      D Offline
                      D Offline
                      DGR
                      schrieb am zuletzt editiert von
                      #17

                      @thomas-braun
                      habe die Rechte nochmal geändert.

                      1 Antwort Letzte Antwort
                      0
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

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

                      655

                      Online

                      32.6k

                      Benutzer

                      82.0k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe