NEWS
Proxmox FTP Installation (gelöst)
-
Hallo,
ich habe auf einem Intel Nuc den iobroker eingerichtet.
Hat gute funktioniert.Nun möchte ich mein Backup wiederherstellen mit backitup.
Wie bekomme das Backup auf den priviligierten LXC-Container?
Per Backitup kann ich NAS und FTP nicht konfigurieren.
Nun habe ich versucht per FTP auf den Proxmox Iobroker Container zuzugreifen. Funktioniert auch nicht.
Per ssh finde ich den Container nicht um evtl. per ssh das Backup zu übertragen.
Kann jemand helfen?
-
-
nur so konnte ich cifs/nfs aktivieren. Funktioniert aber nicht.
-
@aldoa1 sagte in Proxmox FTP Installation:
nur so konnte ich
stimmt, aber man kann https://forum.proxmox.com/threads/backup-auf-nfs-klappt-bei-einigen-lxc-nicht-mehr-grund-war-unprivileged-lxc-container.65956/post-357596
bzw, wenn später backups abgelegt werden sollen
https://www.bachmann-lan.de/proxmox-unprivileged-container-backup-failed-permission-denied/@aldoa1 sagte in Proxmox FTP Installation:
Per ssh finde ich den Container nicht
du musst doch die IP wissen
-
Danke schon mal für die Antwort.
die vzdump.conf ist bei mir leer.
Hat das mit dem Problem des Restore zu tun?
host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
-
@aldoa1 wo liegt denn dein backup
-
-
@aldoa1 also manuell da rein kopiert? mit welchem User, bzw stimmen die Rechte?
-
ich habe es per FTP übertragen.
Habe nun die Rechte auf 777 geändert und mit
iobroker restore 0
bekomme ich:
host.iobroker Using backup file backup-2022-05-17_08-49.tar.gz_backupiobroker.tar.gz
und dann wieder
host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
-
@aldoa1 Zeige mal bitte die Ausgabe von
ls -lah /opt/iobroker/backups
-
total 5.8G
drwxrwxr-x+ 2 iobroker iobroker 4.0K May 17 09:15 .
drwxrwxr-x+ 6 iobroker iobroker 4.0K May 16 14:50 ..
-rwxrwxrwx+ 1 root root 5.8G May 17 09:13 backup-2022-05-17_08-49.tar.gz_backupiobroker.tar.gz -
-
@aldoa1 Also erstmal würde ich die Rechte auf den User iobroker biegen.
Aber ich bezweifle, dass du ein 5,8 GB Backup entpackst bekommst.Was ist denn da alles drin?
-
kann ich nicht mehr sagen.
Ich komme noch an den alten iobroker.
Kann ich da das Backup evtl. verkleinern?Könnte man iobroker auch anders wiederherstellen?
-
da war noch ein Ordner backups.
Jetzt ist das Backup 2 GB gross.
Wie kann ich das auf den User iobroker ändern?
-
Jetzt bekomme ich folgenden Fehler:
host.iobroker Using backup file backup-2022-05-17_08-49.tar.gz_backupiobroker.tar.gz
<--- Last few GCs --->
[587:0x6215c00] 268922 ms: Mark-sweep (reduce) 1008.0 (1028.6) -> 1007.2 (1028.9) MB, 1684.6 / 0.0 ms (average mu = 0.071, current mu = 0.002) allocation failure scavenge might not succeed
[587:0x6215c00] 270606 ms: Mark-sweep (reduce) 1008.2 (1025.9) -> 1007.3 (1026.9) MB, 1680.5 / 0.0 ms (average mu = 0.037, current mu = 0.002) allocation failure scavenge might not succeed<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0xa3aaf0 node::Abort() [node]
2: 0x970199 node::FatalError(char const*, char const*) [node]
3: 0xbba42e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
4: 0xbba7a7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5: 0xd769c5 [node]
6: 0xd7754f [node]
7: 0xd8538b v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
8: 0xd88f4c v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
9: 0xd5762b v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
10: 0x109fbef v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
11: 0x1448df9 [node]
/usr/bin/iobroker: line 8: 585 Aborted sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@" -
@aldoa1 Auch 2 GB sind für node zu groß
Zeige mal auf deinem alten System folgende Inhaltels -lah /opt/iobroker/iobroker-data
-
total 49M
drwxrwxr-x 11 iobroker iobroker 4,0K Mai 17 13:12 .
drwxrwxr-x 9 iobroker iobroker 4,0K Mai 17 09:13 ..
drwxr-xr-x 2 iobroker iobroker 4,0K Apr 19 20:51 backitup
drwxrwxr-x 2 iobroker iobroker 4,0K Mai 17 11:14 backup-objects
-rw-r--r-- 1 iobroker iobroker 60K Mai 17 12:53 doorbird.0.snap.jpg
drwxrwxr-x 86 iobroker iobroker 4,0K Apr 17 02:31 files
-rw-rwxr-- 1 iobroker iobroker 2,3K Feb 22 22:30 iobroker.json
drwxrwxrwx 4 iobroker iobroker 4,0K Feb 23 03:55 node-red
-rw-r--r-- 1 iobroker iobroker 3 Feb 22 22:30 notifications.json
-rw-r--r-- 1 iobroker iobroker 17M Mai 17 13:12 objects.json
-rw-r--r-- 1 iobroker iobroker 17M Mai 17 13:11 objects.json.bak
-rw-r--r-- 1 iobroker iobroker 5,4M Mai 17 13:12 states.json
-rw-r--r-- 1 iobroker iobroker 5,4M Mai 17 13:11 states.json.bak
-rw-r--r-- 1 iobroker iobroker 4,9M Apr 21 02:00 states.json.broken
drwxrwxrwx 2 iobroker iobroker 4,0K Feb 23 03:55 synology_0
drwxrwxrwx 2 iobroker iobroker 4,0K Feb 23 03:54 synology_1
drwxrwxrwx 2 iobroker iobroker 4,0K Feb 23 03:54 tmp
drwxrwxrwx 2 iobroker iobroker 4,0K Mär 17 05:02 yahka.0.hapdata
drwxr-xr-x 2 iobroker iobroker 4,0K Feb 22 22:31 zigbee_0 -
@aldoa1 sagte in Proxmox FTP Installation:
doorbird
Wo landen deine Snapshots von Doorbird? Denke die pumpen dein backup auf.
Mein Produktivsystem mit ca. 35 Adaptern hat gerade mal 15 MB -
ich habe jetzt auf dem alten System noch mal ein backup gemacht und es ist wirklich nur 12,5 MB klein!
Nun habe ich ein Restore versucht:
Wie lange dauert es bis iobroker wieder startet?