ich versuche gerade unseren unseren Opsi Server 4.1 / Centos7 auf Opsi Server 4.2 / RockLinux8.
Da das mit dem Betriebssystemupdate hochziehen nicht so geklappt hat, war mein Plan.
Ich installiere das Rocky und den OpsiServer neu was auch klappte ich kann mich anmelden,
und importiere dann das Backup was ich mit opsi-backup erstellt habe aber ich erhalte immer eine
Fehlermeldung, was mache ich falsch hat jemand einen Tip?
Code: Alles auswählen
[root@dssopsi04 ~]# opsi-backup -v restore /root/opsibackup-20220909.tar.bz2 --new-server-id dssopsi04.domain.xxx --backends mysql
[5] [2022-09-09 13:57:56.193] [ ] Archive /root/opsibackup-20220909.tar.bz2 is OK. (Backup.py:182)
WARNING: Your system config is different from the one recorded with this backup.
This means the backup was probably taken for another machine and restoring it might leave this opsi installation unusable.
Do you wish to continue? [y/N] y
[5] [2022-09-09 13:57:58.142] [ ] Restoring data from backup archive /root/opsibackup-20220909.tar.bz2. (Backup.py:272)
[5] [2022-09-09 13:58:00.808] [ ] Restoration complete (Backup.py:324)
[5] [2022-09-09 13:58:00.809] [ ] Ignoring module 'OpsiPXEConfd', backend 'opsipxeconfd' (Dispatcher.py:134)
[5] [2022-09-09 13:58:00.981] [ ] Parsing dispatch.conf (CleanupBackend.py:47)
[5] [2022-09-09 13:58:00.981] [ ] Mysql-backend detected. Trying to cleanup mysql-backend first (CleanupBackend.py:73)
[5] [2022-09-09 13:58:00.982] [ ] Connection to database 'opsi' on '127.0.0.1' as user 'opsi' (CleanupBackend.py:238)
[5] [2022-09-09 13:58:00.984] [ ] Cleaning up defaultValues in productProperties (CleanupBackend.py:244)
[5] [2022-09-09 13:58:01.006] [ ] Cleaning up groups (CleanupBackend.py:78)
[5] [2022-09-09 13:58:01.013] [ ] Cleaning up products (CleanupBackend.py:81)
[5] [2022-09-09 13:58:02.029] [ ] Cleaning up product on depots (CleanupBackend.py:92)
[5] [2022-09-09 13:58:02.058] [ ] Cleaning up product on clients (CleanupBackend.py:95)
[5] [2022-09-09 13:58:02.214] [ ] Cleaning up product properties (CleanupBackend.py:98)
[5] [2022-09-09 13:58:02.714] [ ] Cleaning up product property states (CleanupBackend.py:120)
[5] [2022-09-09 13:58:03.090] [ ] Cleaning up config states (CleanupBackend.py:215)
[5] [2022-09-09 13:58:03.106] [ ] Cleaning up audit softwares (CleanupBackend.py:218)
[5] [2022-09-09 13:58:08.061] [ ] Cleaning up audit software on clients (CleanupBackend.py:221)
[5] [2022-09-09 13:58:08.458] [ ] Renaming config server to 'dssopsi04.domain.xxx' (Backup.py:329)
[5] [2022-09-09 13:58:08.458] [ ] Ignoring module 'OpsiPXEConfd', backend 'opsipxeconfd' (Dispatcher.py:134)
[5] [2022-09-09 13:58:08.624] [ ] Creating base path: '/var/lib/opsi/config' (File.py:232)
[5] [2022-09-09 13:58:08.673] [ ] Creating opsi base (SQL.py:621)
ERROR: Failed to rename config server to 'dssopsi04.domain.xxx': Backend error: Cannot rename: host 'dssopsi04.domain.xxx' already exists
[root@dssopsi04 ~]#
Hauke