ich benutze die opsi 4.3 und habe Probleme beim erstellen eines backups, mit dem Befehl
Code: Alles auswählen
opsi-backup create
Code: Alles auswählen
[4] [2025-02-07 08:11:24.191] [ ] opsi-backup is deprecated, please use `opsiconfd backup` (opsibackup.py:150)
[4] [2025-02-07 08:11:24.343] [ ] Failed to read backend config "mysql.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.348] [ ] Failed to read backend config "dhcpd.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.350] [ ] Failed to read backend config "opsipxeconfd.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.351] [ ] Failed to read backend config "hostcontrol.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[5] [2025-02-07 08:11:24.353] [ ] Creating backup archive adm-opsi-server_4.3.6.0_2025-02-07_08-11-24.341882.tar.bz2 (Backup.py:107)
[4] [2025-02-07 08:11:24.354] [ ] Failed to read backend config "mysql.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.355] [ ] Failed to read backend config "dhcpd.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.355] [ ] Failed to read backend config "opsipxeconfd.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.358] [ ] Failed to read backend config "hostcontrol.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.359] [ ] Failed to read backend config "mysql.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.359] [ ] Failed to read backend config "dhcpd.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.361] [ ] Failed to read backend config "opsipxeconfd.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.362] [ ] Failed to read backend config "hostcontrol.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.363] [ ] Failed to read backend config "mysql.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.364] [ ] Failed to read backend config "dhcpd.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.366] [ ] Failed to read backend config "opsipxeconfd.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.367] [ ] Failed to read backend config "hostcontrol.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.553] [ ] Failed to read backend config "mysql.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.554] [ ] Failed to read backend config "dhcpd.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.555] [ ] Failed to read backend config "opsipxeconfd.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[4] [2025-02-07 08:11:24.558] [ ] Failed to read backend config "hostcontrol.conf": cannot access local variable 'dispatchedBackends' where it is not associated with a value (__init__.py:1406)
[5] [2025-02-07 08:11:24.589] [ ] Archive /tmp/adm-opsi-server_4.3.6.0_2025-02-07_08-11-24.341882.tar.bz2 is OK. (Backup.py:182)
[5] [2025-02-07 08:11:24.590] [ ] Backup complete (Backup.py:138)
Dannach habe ich es noch mit dem Befehl opsiconfd create backup probiert
Code: Alles auswählen
opsiconfd backup create
Code: Alles auswählen
[3] [2025-02-07 08:21:42.179] [ ] list index out of range (backup.py:122)
Traceback (most recent call last):
File "opsiconfd/main/backup.py", line 72, in backup_main
IndexError: list index out of range
Failed to create backup file '/var/log/opsi/create': list index out of range
könnte mir da jemand weiterhelfen? würde mich freuen.
Vielen Dank! und Schöne Grüße.