Backup fehlerhaft

Hallo. Ich habe vor ein paar Tagen Backups über Borg auf einem anderen Server nach dem Video eingerichtet. Hat nun auch ein paar Tage funktioniert. Heute Nacht aber leider nicht mehr. Ich bekomme ein fehlerhaftes Backup und auch wenn ich es neu manuell anstoße, läuft es wieder nicht durch. Ich habe gestern den Nextcloud Docker nocheinmal deinstalliert und neu installiert. Kann es daran liegen?

Hier ist der Fehlerausdruck. Mir sagt das leider nichts…

2025-11-16

Remote: self test test_identical_creation (borg.testsuite.hashindex.HashIndexDataTestCase.test_identical_creation) FAILED: Remote: Traceback (most recent call last): Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/hashindex.py”, line 339, in test_identical_creation Remote: serialized = self._serialize_hashindex(idx1) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/hashindex.py”, line 314, in _serialize_hashindex Remote: with tempfile.TemporaryDirectory() as tempdir: Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 1021, in init Remote: self.name = mkdtemp(suffix, prefix, dir) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 512, in mkdtemp Remote: prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 265, in _sanitize_params Remote: dir = gettempdir() Remote: ^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 454, in gettempdir Remote: return _os.fsdecode(_gettempdir()) Remote: ^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 447, in _gettempdir Remote: tempdir = _get_default_tempdir() Remote: ^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 362, in _get_default_tempdir Remote: raise FileNotFoundError(_errno.ENOENT, Remote: FileNotFoundError: [Errno 2] No usable temporary directory found in [‘/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/home/borg’] Remote: Remote: self test test_read_known_good (borg.testsuite.hashindex.HashIndexDataTestCase.test_read_known_good) FAILED: Remote: Traceback (most recent call last): Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/hashindex.py”, line 343, in test_read_known_good Remote: idx1 = self._deserialize_hashindex(self.HASHINDEX) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/hashindex.py”, line 321, in _deserialize_hashindex Remote: with tempfile.TemporaryDirectory() as tempdir: Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 1021, in init Remote: self.name = mkdtemp(suffix, prefix, dir) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 512, in mkdtemp Remote: prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 265, in _sanitize_params Remote: dir = gettempdir() Remote: ^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 454, in gettempdir Remote: return _os.fsdecode(_gettempdir()) Remote: ^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 447, in _gettempdir Remote: tempdir = _get_default_tempdir() Remote: ^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 362, in _get_default_tempdir Remote: raise FileNotFoundError(_errno.ENOENT, Remote: FileNotFoundError: [Errno 2] No usable temporary directory found in [‘/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/home/borg’] Remote: Remote: self test test_chunkindex (borg.testsuite.hashindex.HashIndexTestCase.test_chunkindex) FAILED: Remote: Traceback (most recent call last): Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/hashindex.py”, line 94, in test_chunkindex Remote: self._generic_test(ChunkIndex, lambda x: (x, x, x), Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/hashindex.py”, line 57, in _generic_test Remote: with unopened_tempfile() as filepath: Remote: File “/usr/lib/python3.12/contextlib.py”, line 137, in enter Remote: return next(self.gen) Remote: ^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/init.py”, line 65, in unopened_tempfile Remote: with tempfile.TemporaryDirectory() as tempdir: Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 1021, in init Remote: self.name = mkdtemp(suffix, prefix, dir) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 512, in mkdtemp Remote: prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 265, in _sanitize_params Remote: dir = gettempdir() Remote: ^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 454, in gettempdir Remote: return _os.fsdecode(_gettempdir()) Remote: ^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 447, in _gettempdir Remote: tempdir = _get_default_tempdir() Remote: ^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 362, in _get_default_tempdir Remote: raise FileNotFoundError(_errno.ENOENT, Remote: FileNotFoundError: [Errno 2] No usable temporary directory found in [‘/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/home/borg’] Remote: Remote: self test test_nsindex (borg.testsuite.hashindex.HashIndexTestCase.test_nsindex) FAILED: Remote: Traceback (most recent call last): Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/hashindex.py”, line 90, in test_nsindex Remote: self._generic_test(NSIndex, lambda x: (x, x), Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/hashindex.py”, line 57, in _generic_test Remote: with unopened_tempfile() as filepath: Remote: File “/usr/lib/python3.12/contextlib.py”, line 137, in enter Remote: return next(self.gen) Remote: ^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/init.py”, line 65, in unopened_tempfile Remote: with tempfile.TemporaryDirectory() as tempdir: Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 1021, in init Remote: self.name = mkdtemp(suffix, prefix, dir) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 512, in mkdtemp Remote: prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 265, in _sanitize_params Remote: dir = gettempdir() Remote: ^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 454, in gettempdir Remote: return _os.fsdecode(_gettempdir()) Remote: ^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 447, in _gettempdir Remote: tempdir = _get_default_tempdir() Remote: ^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 362, in _get_default_tempdir Remote: raise FileNotFoundError(_errno.ENOENT, Remote: FileNotFoundError: [Errno 2] No usable temporary directory found in [‘/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/home/borg’] Remote: Remote: self test test_resize (borg.testsuite.hashindex.HashIndexTestCase.test_resize) FAILED: Remote: Traceback (most recent call last): Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/hashindex.py”, line 99, in test_resize Remote: with unopened_tempfile() as filepath: Remote: File “/usr/lib/python3.12/contextlib.py”, line 137, in enter Remote: return next(self.gen) Remote: ^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3/dist-packages/borg/testsuite/init.py”, line 65, in unopened_tempfile Remote: with tempfile.TemporaryDirectory() as tempdir: Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 1021, in init Remote: self.name = mkdtemp(suffix, prefix, dir) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 512, in mkdtemp Remote: prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir) Remote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 265, in _sanitize_params Remote: dir = gettempdir() Remote: ^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 454, in gettempdir Remote: return _os.fsdecode(_gettempdir()) Remote: ^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 447, in _gettempdir Remote: tempdir = _get_default_tempdir() Remote: ^^^^^^^^^^^^^^^^^^^^^^ Remote: File “/usr/lib/python3.12/tempfile.py”, line 362, in _get_default_tempdir Remote: raise FileNotFoundError(_errno.ENOENT, Remote: FileNotFoundError: [Errno 2] No usable temporary directory found in [‘/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/home/borg’] Remote: Remote: self test failed Remote: Could be a bug either in Borg, the package / distribution you use, your OS or your hardware. Connection closed by remote host. Is borg working on the server?

Server ist über ssh erreichbar. Das habe ich gerade getsestet.

christian@192.168.2.210’s password:
Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.8.0-87-generic x86_64)

System information as of So 16. Nov 07:18:55 UTC 2025

System load: 0.87
Usage of /: 95.1% of 97.87GB
Memory usage: 3%
Swap usage: 0%
Temperature: 35.0 C
Processes: 141
Users logged in: 0
IPv4 address for enp2s0: 192.168.2.210
IPv6 address for enp2s0: 2003:ed:ef29:b431:2e0:4cff:fe2a:2a5b

=> / is using 95.1% of 97.87GB

Und hier ist der Ausdruck von sudo lsblk

christian@ubuntu-server:~$ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 3,7T 0 disk
├─sda1 8:1 0 1G 0 part /boot/efi
├─sda2 8:2 0 2G 0 part /boot
└─sda3 8:3 0 3,7T 0 part
└─ubuntu–vg-ubuntu–lv 252:0 0 100G 0 lvm /
mmcblk0 179:0 0 29,1G 0 disk
├─mmcblk0p1 179:1 0 512M 0 part
├─mmcblk0p2 179:2 0 27,7G 0 part
└─mmcblk0p3 179:3 0 977M 0 part
mmcblk0boot0 179:8 0 4M 1 disk
mmcblk0boot1 179:16 0 4M 1 disk

Guten Morgen, ich habe es selbst hinbekommen. Scheinbar gab es auf meiner großen Festplatte eine weitere Partition, welche nur 100G groß war. Die war dann, nachdem ich meine Daten in Nextcloud gespeichert hatte, voll. Mithilfe von Chatgpt konnte ich die Partition aber vergrößern. Warum die nur 100G groß war, verstehe ich allerdings nicht. Beim aufsetzten von Ubuntu-Server habe ich 100% bei der Auswahl der Partitionen die ganze Festplatte angegeben…

Was noch auffällt: Wenn ein Backup fehlgeschlagen ist, dann kann man für diesen Tag kein neues Backup machen. Ich hatte die Partition vergrößert und manuell ein neues Backup angestoßen, um es zu testen. Dieses lief auch sehr lange (172GB mussten gesichert werden). Am Ende kam aber wieder eine Fehlermeldung mit dem Fehler, dass dieses Archiv bereits besteht. Ich wollte dieses dann löschen, was aber scheinbar über die Oberfläche von Libre Workspace nicht geht. Wäre vielleicht noch eine Idee…

Und ich habe keine Mail bekommen, dass das Backup fehlerhaft abgeschlossen wurde. Ich bekomme allerdings täglich Mails darüber, dass eine Domain (immer nur welche, die ich in Caddy zusätzlich angelegt habe; z.B. zu Immich) aktuel nicht erreichbar ist… Also scheint ja Mail grundsätzlich zu funktionieren.

1 „Gefällt mir“