Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Proxmox
    5. Proxmox Container Backup Error Exit 1

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Proxmox Container Backup Error Exit 1

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

      Servus
      Ich versuche verzweifelt ein Backup von meinem IoBroker Container zu machen, jedoch schlägt dieses immer mit dem Exit Code 1 fehl.
      Im Log fallen mir zwei Pfade auf die für den Fehler verantwortlich sein können Zeile 9 und 10.
      Kann ich die zwei Dateien einfach löschen?

      2020-10-21 09:05:45 INFO: Starting Backup of VM 101 (lxc)
      2020-10-21 09:05:45 INFO: status = running
      2020-10-21 09:05:45 INFO: CT Name: iobroker
      2020-10-21 09:05:45 INFO: including mount point rootfs ('/') in backup
      2020-10-21 09:05:45 INFO: backup mode: snapshot
      2020-10-21 09:05:45 INFO: ionice priority: 7
      2020-10-21 09:05:45 INFO: create storage snapshot 'vzdump'
      2020-10-21 09:05:47 INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-lxc-101-2020_10_21-09_05_45.tar.lzo'
      2020-10-21 09:32:13 INFO: tar: ./opt/iobroker/iobroker-data/files/iot.admin/static/js/2.040584db.chunk.js.map: File shrank by 2382436 bytes; padding with zeros
      2020-10-21 09:40:20 INFO: tar: ./opt/iobroker/node_modules/sharp/vendor/lib/libgsf-1.so.114.0.46: File shrank by 269736 bytes; padding with zeros
      2020-10-21 09:53:08 INFO: Total bytes written: 6284185600 (5.9GiB, 2.2MiB/s)
      2020-10-21 09:53:10 INFO: remove vzdump snapshot
      2020-10-21 09:53:14 ERROR: Backup of VM 101 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar cpf - --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' --one-file-system '--warning=no-file-ignored' '--directory=/var/lib/vz/dump/vzdump-lxc-101-2020_10_21-09_05_45.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | lzop >/var/lib/vz/dump/vzdump-lxc-101-2020_10_21-09_05_45.tar.dat' failed: exit code 1
      
      UncleSam 1 Reply Last reply Reply Quote 0
      • UncleSam
        UncleSam Developer @loi83 last edited by

        @loi83 Weshalb willst du den Container backupen? Genügt backitup nicht?

        Das schöne an Containern ist, dass sie sich ganz einfach wieder herstellen lassen. Und wenn du dann das backitup wieder zurück spielst, hast du wieder demselben Stand wie zuvor.

        L 1 Reply Last reply Reply Quote 0
        • L
          loi83 @UncleSam last edited by

          @UncleSam auf der Festplatte meines Servers sind Defekte Sektoren. Deswegen will ich die gegen eine SSD tauschen. Backitup nutze ich auch. Aber den CT wiederherzustellen wäre halt die einfachere Art und Weise 🙂

          Neuschwansteini FredF 2 Replies Last reply Reply Quote 0
          • Neuschwansteini
            Neuschwansteini @loi83 last edited by

            @loi83 Hi, ich empfehle ein RAID mit Mirror dafür, dann schläfst du besser...

            Selbst gerade am NAS eine defekte Platte gehabt und eingeschickt, noch Garantie drauf.. dank Raid kein Datenverlust, nur n langsameres NAS, bis die neue Platte wieder drin ist..

            Im Server, auf dem Proxmox läuft, hab ich auch ein RAID, Ausfallsicherheit hier auch 1 Platte.

            L W 2 Replies Last reply Reply Quote 0
            • L
              loi83 @Neuschwansteini last edited by

              @ilovegym soweit reichen meine Kenntnisse bei weitem nicht. Wüsste nicht Mal nach was ich suchen muss bzw wie ich es dann richtig einrichte 🙄

              1 Reply Last reply Reply Quote 0
              • W
                Wildbill @Neuschwansteini last edited by

                @ilovegym Ich empfehle mal zu lesen: Ein RAID ist kein Backup! Oder gerne auch andere Seiten, was Google halt so ausspuckt, wenn man "raid backup" eingibt.

                @loi83 Geht es auch nicht, wenn Du den Container vorher stoppst?

                Gruss, Jürgen

                Neuschwansteini L 2 Replies Last reply Reply Quote 0
                • Neuschwansteini
                  Neuschwansteini @Wildbill last edited by

                  @Wildbill Rischtisch! Schützt aber vor Datenverlust bei einem Ausfall der HDD...

                  1 Reply Last reply Reply Quote 0
                  • L
                    loi83 @Wildbill last edited by loi83

                    @Wildbill ich hab alle drei Methoden probiert, also auch gestoppt und alle 3 werden mit dem selben Fehler beendet.

                    1 Reply Last reply Reply Quote 0
                    • L
                      lemuba last edited by

                      @loi83 sagte in Proxmox Container Backup Error Exit 1:

                      Backup of VM 101 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536

                      Ist dieser Beitrag vielleicht ein Ansatz für dein Problem?

                      https://github.com/turnkeylinux/tracker/issues/855

                      JedMeister created this issue in turnkeylinux/tracker

                      closed Unprivileged TurnKey containers on LXC (inc Proxmox) fail #855

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        loi83 @lemuba last edited by

                        @lemuba danke aber nein, ich nutze kein Turnkey Template und ich habe den Exit Code 1, dort wird mit Exit Code 2 abgeschlossen.

                        1 Reply Last reply Reply Quote 0
                        • FredF
                          FredF Most Active Forum Testing @loi83 last edited by

                          @loi83 sagte in Proxmox Container Backup Error Exit 1:

                          auf der Festplatte meines Servers sind Defekte Sektoren.

                          Das wird der Grund sein, warum ein Backup des Containers nicht funktioniert.

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

                            @loi83 sagte in Proxmox Container Backup Error Exit 1:

                            2020-10-21 09:32:13 INFO: tar: ./opt/iobroker/iobroker-data/files/iot.admin/static/js/2.040584db.chunk.js.map: File shrank by 2382436 bytes; padding with zeros

                            genau an der stelle ist was kaputt

                            2020-10-21 09:32:13 INFO: tar: ./opt/iobroker/iobroker-data/files/iot.admin/static/js/2.040584db.chunk.js.map
                            2020-10-21 09:40:20 INFO: tar: ./opt/iobroker/node_modules/sharp/vendor/lib/libgsf-1.so.114.0.46

                            du kannst versuchen es per hand zu löschen musst aber die Adapter neu drüber installieren .. oder wenn du pech hast.. musst du backup/restore vom iobroker durchführen

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              loi83 @arteck last edited by

                              @arteck habe mich für ne Neuinstallation und ein Restore entschieden. Dauerte zwar nur knapp drei Stunden länger, dafür ist das System sauber. Hinter dem Fehler vermute ich den XBox Adapter, denn den bekomm ich nimmer zum laufen.
                              Danke allen für die Hilfe 🙂

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              483
                              Online

                              31.6k
                              Users

                              79.6k
                              Topics

                              1.3m
                              Posts

                              7
                              13
                              1028
                              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