Mitterweile bin ich schlauer - anscheinend würde der Backup-Job mit dem ersten manuellen Backup angelegt. Wenn ich aber eine Zeit für das automatische Backup eingebe, läuft es mit folgender Fehlermeldung nicht korrekt ab:
Ich vermute, dass das Zeitformat hier einen Fehler generiert? Über Hilfe wäre ich dankbar :)
2022-03-20 17:33:34,283: c.z.s.b.BackupCreateTask:122 INFO | Backup AutoMount : false 2022-03-20 17:33:34,283: c.z.s.b.BackupCreateTask:123 INFO | Backup Verzeichnis : /Volumes/Store/Backups/tomedo_backup 2022-03-20 17:33:34,283: c.z.s.b.BackupCreateTask:124 INFO | Backup Verzeichnis Type : INTERNAL 2022-03-20 17:33:34,886: c.z.s.b.BackupCreateTask:145 INFO | Volume Mount Punkt : /Volumes/Store 2022-03-20 17:33:34,887: c.z.s.b.BackupCreateTask:146 INFO | Volume Type : EXTERNAL 2022-03-20 17:33:34,887: c.z.s.t.PersistedEventHandler:62 INFO | Prüfe Speicherplatz auf dem Laufwerk (/Volumes/Store/Backups/tomedo_backup). 2022-03-20 17:33:34,888: c.z.s.b.BackupCreateTask:168 INFO | Überprüfe, ob für das Backup genügend Platz zur Verfügung steht. Verfügbarer Platz: 14655.001 GB, benötigt: 6.665 GB, davon 5.0 GB als Sicherheitspuffer. 2022-03-20 17:33:34,888: c.z.s.t.PersistedEventHandler:62 INFO | Erzeuge Backup in: /Volumes/Store/Backups/tomedo_backup/20220320_173334 2022-03-20 17:33:35,139: c.z.s.b.BackupCreateTask:347 INFO | Sichere Datenbank 'jdbc:postgresql://127.0.0.1:5432/tomedo' im Format 'directory' in Verzeichnis '/Volumes/Store/Backups/tomedo_backup/20220320_173334'. 2022-03-20 17:33:35,139: c.z.m.u.p.PGDump:235 INFO | Erstelle Kommando für einfachen File Dump der Datenbank. 2022-03-20 17:33:35,140: c.z.m.u.p.PGDump:762 INFO | executable Path : /Applications/tomedoServerUtils/postgres/bin/pg_dump 2022-03-20 17:33:35,140: c.z.m.u.p.PGDump:763 INFO | PostgreSQL Install Path : /Applications/tomedoServerUtils/postgres 2022-03-20 17:33:35,140: c.z.m.p.DefaultProcessRunner:104 INFO | Überschreibe aktuell vorhandenen Error Stream. 2022-03-20 17:33:35,140: c.z.m.p.DefaultProcessRunner:202 INFO | Starte externen Prozess: '/bin/sh -c '/Applications/tomedoServerUtils/postgres/bin/pg_dump --host=127.0.0.1 --port=5432 --username=tomedo -v --encoding=UTF-8 --format=directory --schema=public --file=/Volumes/Store/Backups/tomedo_backup/20220320_173334/tomedo_Datenbank.backup tomedo'' . -> 20 Prozent abgearbeitet ........... -> 40 Prozent abgearbeitet -> 60 Prozent abgearbeitet ............ -> 80 Prozent abgearbeitet ..... -> 100 Prozent abgearbeitet 2022-03-20 17:41:30,749: c.z.m.p.DefaultProcessRunner:309 INFO | Externer Prozess beendet mit Rückgabewert 0: /bin/sh -c '/Applications/tomedoServerUtils/postgres/bin/pg_dump --host=127.0.0.1 --port=5432 --username=tomedo -v --encoding=UTF-8 --format=directory --schema=public --file=/Volumes/Store/Backups/tomedo_backup/20220320_173334/tomedo_Datenbank.backup tomedo' 2022-03-20 17:41:30,749: c.z.m.u.p.PGDump:269 INFO | Anzahl der Log-Zeilen : 7198 2022-03-20 17:41:31,228: c.z.s.OverrideProperties$RefreshScope:199 INFO | Refreshing beans: '[scopedTarget.getTomedoConfig, scopedTarget.spaceWatcher, scopedTarget.postgresqlProcessControl, scopedTarget.BDR, scopedTarget.tomedoVersionRetriever, scopedTarget.tomedoServerProcessControl, scopedTarget.systemSettingsManager, scopedTarget.mowoliProcessControl, scopedTarget.getDataSource, scopedTarget.backupConfiguration, scopedTarget.processes, scopedTarget.getDataSourceProperties]'. Beans not refreshed, because no matching property was changed: '[scopedTarget.fiskalCloudConnectorVersionRetriever, scopedTarget.getRaidObserver, scopedTarget.HAEVGProcessControl, scopedTarget.arzekoUpdater, scopedTarget.changelogHandler, scopedTarget.arzekoVersionRetriever, scopedTarget.createLocalEntityManagerFactoryBean, scopedTarget.impfSoftProcessControl, scopedTarget.telescanProcessControl, scopedTarget.tomedoTypeChecker]' 2022-03-20 17:41:31,229: c.z.s.RepeatingRunnableManagement:199 INFO | Starte Timer DICOM-Worklist-Cleanup mit Wiederholrate von -1 ms 2022-03-20 17:41:31,241: c.z.s.b.BackupScheduler:68 INFO | Scheduling backup for root folder 'internal' with cron expression '0 0 NaN/24 * * ?'. 2022-03-20 17:41:31,241: c.z.s.t.PersistedEventHandler:68 ERROR | Fehler beim Backup Task erstellen (Details in den Log Daten) ! 2022-03-20 17:41:31,349: c.z.s.t.Tasks$LenientCompositeTaskRunnable:617 WARN | Exception aufgetreten, fahre mit nächstem Teil der Task fort. java.lang.NumberFormatException: For input string: "NaN" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.valueOf(Integer.java:766) at org.springframework.scheduling.support.CronSequenceGenerator.getRange(CronSequenceGenerator.java:373) at org.springframework.scheduling.support.CronSequenceGenerator.setNumberHits(CronSequenceGenerator.java:349) at org.springframework.scheduling.support.CronSequenceGenerator.doParse(CronSequenceGenerator.java:280) at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:274) at org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:96) at org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:83) at org.springframework.scheduling.support.CronTrigger.<init>(CronTrigger.java:44) at com.zollsoft.servertools.backup.BackupScheduler.scheduleBackups(BackupScheduler.java:99) at com.zollsoft.servertools.backup.BackupScheduler.refreshed(BackupScheduler.java:113) at com.zollsoft.servertools.OverrideProperties.refresh(OverrideProperties.java:64) at com.zollsoft.servertools.OverrideProperties.setProperties(OverrideProperties.java:93) at com.zollsoft.servertools.OverrideProperties.setProperty(OverrideProperties.java:52) at com.zollsoft.servertools.backup.databaseBackup.DatabaseBackup.persistUnzippedDumpSize(DatabaseBackup.java:99) at com.zollsoft.servertools.backup.databaseBackup.DirectoryDatabaseBackup.create(DirectoryDatabaseBackup.java:33) at com.zollsoft.servertools.backup.BackupCreateTask.backupDatabase(BackupCreateTask.java:349) at com.zollsoft.servertools.backup.BackupCreateTask.run(BackupCreateTask.java:192) at com.zollsoft.servertools.task.Tasks$LenientCompositeTaskRunnable.run(Tasks.java:614) at com.zollsoft.servertools.task.Tasks$2.run(Tasks.java:395) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 2022-03-20 17:41:31,349: c.z.s.t.Tasks$2:403 ERROR | Fehler beim Ausführen: For input string: "NaN" java.lang.NumberFormatException: For input string: "NaN" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.valueOf(Integer.java:766) at org.springframework.scheduling.support.CronSequenceGenerator.getRange(CronSequenceGenerator.java:373) at org.springframework.scheduling.support.CronSequenceGenerator.setNumberHits(CronSequenceGenerator.java:349) at org.springframework.scheduling.support.CronSequenceGenerator.doParse(CronSequenceGenerator.java:280) at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:274) at org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:96) at org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:83) at org.springframework.scheduling.support.CronTrigger.<init>(CronTrigger.java:44) at com.zollsoft.servertools.backup.BackupScheduler.scheduleBackups(BackupScheduler.java:99) at com.zollsoft.servertools.backup.BackupScheduler.refreshed(BackupScheduler.java:113) at com.zollsoft.servertools.OverrideProperties.refresh(OverrideProperties.java:64) at com.zollsoft.servertools.OverrideProperties.setProperties(OverrideProperties.java:93) at com.zollsoft.servertools.OverrideProperties.setProperty(OverrideProperties.java:52) at com.zollsoft.servertools.backup.databaseBackup.DatabaseBackup.persistUnzippedDumpSize(DatabaseBackup.java:99) at com.zollsoft.servertools.backup.databaseBackup.DirectoryDatabaseBackup.create(DirectoryDatabaseBackup.java:33) at com.zollsoft.servertools.backup.BackupCreateTask.backupDatabase(BackupCreateTask.java:349) at com.zollsoft.servertools.backup.BackupCreateTask.run(BackupCreateTask.java:192) at com.zollsoft.servertools.task.Tasks$LenientCompositeTaskRunnable.run(Tasks.java:614) at com.zollsoft.servertools.task.Tasks$2.run(Tasks.java:395) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)