@futo-org/backups-orchestrator-ui 1.8.1 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/backups/BackupItem.svelte +11 -0
- package/dist/components/backups/BackupStatus.svelte +23 -7
- package/dist/components/backups/BackupStatus.svelte.d.ts +2 -2
- package/dist/components/backups/BackupTaskMonitor.svelte +2 -2
- package/dist/components/backups/dialogs/CancelJobModal.svelte +59 -0
- package/dist/components/backups/dialogs/CancelJobModal.svelte.d.ts +8 -0
- package/dist/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte +39 -0
- package/dist/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte.d.ts +6 -0
- package/dist/components/backups/dialogs/RestoreSnapshotModal.svelte +2 -2
- package/dist/components/backups/dialogs/SelectRepositoryModal.svelte +35 -17
- package/dist/components/backups/dialogs/ViewStatusModal.svelte +63 -70
- package/dist/components/backups/dialogs/ViewStatusModal.svelte.d.ts +1 -1
- package/dist/components/backups/metrics-history/MetricsHistoryModal.svelte +2 -7
- package/dist/components/backups/run-history/RepositoryRunHistory.svelte +10 -10
- package/dist/components/backups/run-history/RepositoryRunHistoryItem.svelte +43 -18
- package/dist/components/backups/run-history/RepositoryRunHistoryItem.svelte.d.ts +2 -2
- package/dist/components/backups/run-history/RepositoryRunHistoryPage.svelte +17 -16
- package/dist/components/backups/snapshots-list/RepositorySnapshotsList.svelte +2 -2
- package/dist/components/backups/snapshots-list/RepositorySnapshotsPage.svelte +2 -2
- package/dist/components/integrations/immich/ImmichBackupSettingsPage.svelte +2 -0
- package/dist/components/integrations/immich/ImmichManageBackupOverview.svelte +7 -3
- package/dist/components/integrations/immich/settings/ImmichSettingsBackupContents.svelte +0 -1
- package/dist/components/integrations/immich/settings/ImmichSettingsSchedule.svelte +0 -1
- package/dist/components/jobs/JobProgressLabel.svelte +35 -0
- package/dist/components/jobs/JobProgressLabel.svelte.d.ts +6 -0
- package/dist/components/onboarding/restore-point-flow/RestorePointFlow3ConfirmRestore.svelte +4 -4
- package/dist/components/onboarding/restore-point-flow/RestorePointFlow4Restore.svelte +35 -20
- package/dist/components/onboarding/restore-point-flow/RestorePointFlow4Restore.svelte.d.ts +1 -2
- package/dist/components/schedules/dialogs/ConfigureScheduleModal.svelte +6 -1
- package/dist/components/schedules/dialogs/CreateScheduleModal.svelte +7 -2
- package/dist/components/settings/GlobalSettings.svelte +2 -0
- package/dist/components/settings/SettingsSupportMode.svelte +154 -0
- package/dist/components/settings/SettingsSupportMode.svelte.d.ts +3 -0
- package/dist/components/test/dashboard/Dashboard.svelte +0 -3
- package/dist/components/util/RelativeTime.svelte +12 -11
- package/dist/components/util/RelativeTime.svelte.d.ts +1 -0
- package/dist/fetch-client.d.ts +111 -59
- package/dist/fetch-client.js +70 -49
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -3
- package/dist/locales/en-XA.js +1 -1
- package/dist/locales/en-XA.po +222 -30
- package/dist/locales/en.js +1 -1
- package/dist/locales/en.po +223 -31
- package/dist/services/immich.integration.service.d.ts +6 -3
- package/dist/services/immich.integration.service.js +5 -4
- package/dist/services/job.service.d.ts +42 -0
- package/dist/services/job.service.js +159 -0
- package/dist/services/repository.service.d.ts +2 -2
- package/dist/services/repository.service.js +37 -2
- package/dist/services/snapshot.service.d.ts +5 -9
- package/dist/services/snapshot.service.js +2 -3
- package/dist/services/supportMode.service.d.ts +8 -0
- package/dist/services/supportMode.service.js +19 -0
- package/dist/utils/cron.d.ts +1 -0
- package/dist/utils/cron.js +18 -0
- package/dist/utils/now.d.ts +1 -0
- package/dist/utils/now.js +6 -0
- package/dist/utils/repository.d.ts +4 -0
- package/dist/utils/repository.js +15 -0
- package/dist/utils/supportMode.d.ts +2 -0
- package/dist/utils/supportMode.js +2 -0
- package/package.json +2 -2
- package/dist/components/test/dashboard/ActiveJobs.svelte +0 -393
- package/dist/components/test/dashboard/ActiveJobs.svelte.d.ts +0 -3
- package/dist/services/log.service.svelte.d.ts +0 -67
- package/dist/services/log.service.svelte.js +0 -123
- package/dist/services/runHistory.service.d.ts +0 -37
- package/dist/services/runHistory.service.js +0 -102
- package/dist/services/task.service.d.ts +0 -3
- package/dist/services/task.service.js +0 -21
package/dist/locales/en.po
CHANGED
|
@@ -65,6 +65,10 @@ msgstr "{name} completed with warnings"
|
|
|
65
65
|
msgid "{name} failed"
|
|
66
66
|
msgstr "{name} failed"
|
|
67
67
|
|
|
68
|
+
#: src/lib/components/backups/dialogs/ViewStatusModal.svelte
|
|
69
|
+
msgid "{name} interrupted"
|
|
70
|
+
msgstr "{name} interrupted"
|
|
71
|
+
|
|
68
72
|
#: src/lib/components/ui/PathPickerModal.svelte
|
|
69
73
|
msgid "{name} selected"
|
|
70
74
|
msgstr "{name} selected"
|
|
@@ -73,6 +77,10 @@ msgstr "{name} selected"
|
|
|
73
77
|
msgid "{num, plural, one {# backup removed} other {# backups removed}}"
|
|
74
78
|
msgstr "{num, plural, one {# backup removed} other {# backups removed}}"
|
|
75
79
|
|
|
80
|
+
#: src/lib/components/backups/dialogs/SelectRepositoryModal.svelte
|
|
81
|
+
msgid "{num, plural, one {# backup} other {# backups}}"
|
|
82
|
+
msgstr "{num, plural, one {# backup} other {# backups}}"
|
|
83
|
+
|
|
76
84
|
#: src/lib/components/backups/snapshots-list/RepositorySnapshotsListItem.svelte
|
|
77
85
|
msgid "{num, plural, one {# file} other {# files}}"
|
|
78
86
|
msgstr "{num, plural, one {# file} other {# files}}"
|
|
@@ -85,6 +93,10 @@ msgstr "{num, plural, one {# repository} other {# repositories}}"
|
|
|
85
93
|
msgid "{num, plural, one {Completed with # warning.} other {Completed with # warnings.}}"
|
|
86
94
|
msgstr "{num, plural, one {Completed with # warning.} other {Completed with # warnings.}}"
|
|
87
95
|
|
|
96
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
97
|
+
msgid "{num, plural, one {Support mode is on for the next run.} other {Support mode is on for the next # runs.}}"
|
|
98
|
+
msgstr "{num, plural, one {Support mode is on for the next run.} other {Support mode is on for the next # runs.}}"
|
|
99
|
+
|
|
88
100
|
#: src/lib/components/backups/BackupStatus.svelte
|
|
89
101
|
msgid "{phase} · {percent}%"
|
|
90
102
|
msgstr "{phase} · {percent}%"
|
|
@@ -93,6 +105,10 @@ msgstr "{phase} · {percent}%"
|
|
|
93
105
|
msgid "{running} in progress"
|
|
94
106
|
msgstr "{running} in progress"
|
|
95
107
|
|
|
108
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
109
|
+
msgid "{running} queued"
|
|
110
|
+
msgstr "{running} queued"
|
|
111
|
+
|
|
96
112
|
#: src/lib/components/dashboard/DashboardBackupHealth.svelte
|
|
97
113
|
msgid "{successful} of {total} successful"
|
|
98
114
|
msgstr "{successful} of {total} successful"
|
|
@@ -118,7 +134,7 @@ msgstr "A folder on this computer."
|
|
|
118
134
|
msgid "A memorable name for this backup"
|
|
119
135
|
msgstr "A memorable name for this backup"
|
|
120
136
|
|
|
121
|
-
#: src/lib/services/
|
|
137
|
+
#: src/lib/services/job.service.ts
|
|
122
138
|
msgid "About {duration} remaining"
|
|
123
139
|
msgstr "About {duration} remaining"
|
|
124
140
|
|
|
@@ -257,15 +273,15 @@ msgid "Backup"
|
|
|
257
273
|
msgstr "Backup"
|
|
258
274
|
|
|
259
275
|
#: src/lib/components/backups/metrics-history/MetricsHistoryModal.svelte
|
|
260
|
-
#: src/lib/services/
|
|
276
|
+
#: src/lib/services/job.service.ts
|
|
261
277
|
msgid "Backup cancelled"
|
|
262
278
|
msgstr "Backup cancelled"
|
|
263
279
|
|
|
264
|
-
#: src/lib/services/
|
|
280
|
+
#: src/lib/services/job.service.ts
|
|
265
281
|
msgid "Backup complete"
|
|
266
282
|
msgstr "Backup complete"
|
|
267
283
|
|
|
268
|
-
#: src/lib/services/
|
|
284
|
+
#: src/lib/services/job.service.ts
|
|
269
285
|
msgid "Backup completed with warnings"
|
|
270
286
|
msgstr "Backup completed with warnings"
|
|
271
287
|
|
|
@@ -288,7 +304,7 @@ msgstr "Backup did not complete"
|
|
|
288
304
|
|
|
289
305
|
#: src/lib/components/backups/metrics-history/MetricsHistoryModal.svelte
|
|
290
306
|
#: src/lib/components/integrations/immich/ImmichBackupsSidebarItem.svelte
|
|
291
|
-
#: src/lib/services/
|
|
307
|
+
#: src/lib/services/job.service.ts
|
|
292
308
|
msgid "Backup failed"
|
|
293
309
|
msgstr "Backup failed"
|
|
294
310
|
|
|
@@ -320,6 +336,10 @@ msgstr "Backup includes"
|
|
|
320
336
|
msgid "Backup incomplete"
|
|
321
337
|
msgstr "Backup incomplete"
|
|
322
338
|
|
|
339
|
+
#: src/lib/services/job.service.ts
|
|
340
|
+
msgid "Backup interrupted"
|
|
341
|
+
msgstr "Backup interrupted"
|
|
342
|
+
|
|
323
343
|
#: src/lib/components/integrations/immich/ImmichManageBackupOverview.svelte
|
|
324
344
|
msgid "Backup is missing on the service."
|
|
325
345
|
msgstr "Backup is missing on the service."
|
|
@@ -417,6 +437,10 @@ msgstr "Buddy Backups"
|
|
|
417
437
|
msgid "Built for Immich"
|
|
418
438
|
msgstr "Built for Immich"
|
|
419
439
|
|
|
440
|
+
#: src/lib/services/job.service.ts
|
|
441
|
+
msgid "Calculating time remaining…"
|
|
442
|
+
msgstr "Calculating time remaining…"
|
|
443
|
+
|
|
420
444
|
#: src/lib/components/backups/dialogs/SelectRepositoryModal.svelte
|
|
421
445
|
msgid "Can't access, is your recovery key correct?"
|
|
422
446
|
msgstr "Can't access, is your recovery key correct?"
|
|
@@ -427,6 +451,7 @@ msgstr "Can't read repository."
|
|
|
427
451
|
|
|
428
452
|
#: src/lib/components/backends/dialogs/OAuthDeviceFlowModal.svelte
|
|
429
453
|
#: src/lib/components/backends/dialogs/SelectBackendModal.svelte
|
|
454
|
+
#: src/lib/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte
|
|
430
455
|
#: src/lib/components/backups/dialogs/RollbackSnapshotModal.svelte
|
|
431
456
|
#: src/lib/components/backups/dialogs/SelectRepositoryModal.svelte
|
|
432
457
|
#: src/lib/components/onboarding/steps/OnboardingStepBackupServices.svelte
|
|
@@ -436,18 +461,37 @@ msgid "Cancel"
|
|
|
436
461
|
msgstr "Cancel"
|
|
437
462
|
|
|
438
463
|
#: src/lib/components/backups/BackupStatus.svelte
|
|
464
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
439
465
|
#: src/lib/components/integrations/immich/ImmichManageBackupOverview.svelte
|
|
440
466
|
msgid "Cancel backup"
|
|
441
467
|
msgstr "Cancel backup"
|
|
442
468
|
|
|
443
469
|
#: src/lib/components/backups/BackupStatus.svelte
|
|
470
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
444
471
|
msgid "Cancel prune"
|
|
445
472
|
msgstr "Cancel prune"
|
|
446
473
|
|
|
447
474
|
#: src/lib/components/backups/BackupStatus.svelte
|
|
475
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
448
476
|
msgid "Cancel restore"
|
|
449
477
|
msgstr "Cancel restore"
|
|
450
478
|
|
|
479
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
480
|
+
msgid "Cancel this backup?"
|
|
481
|
+
msgstr "Cancel this backup?"
|
|
482
|
+
|
|
483
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
484
|
+
msgid "Cancel this prune?"
|
|
485
|
+
msgstr "Cancel this prune?"
|
|
486
|
+
|
|
487
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
488
|
+
msgid "Cancel this restore?"
|
|
489
|
+
msgstr "Cancel this restore?"
|
|
490
|
+
|
|
491
|
+
#: src/lib/components/backups/BackupItem.svelte
|
|
492
|
+
msgid "Cancelled"
|
|
493
|
+
msgstr "Cancelled"
|
|
494
|
+
|
|
451
495
|
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
452
496
|
msgid "Cancelled {noun}"
|
|
453
497
|
msgstr "Cancelled {noun}"
|
|
@@ -599,7 +643,7 @@ msgstr "Copy"
|
|
|
599
643
|
msgid "Copy code"
|
|
600
644
|
msgstr "Copy code"
|
|
601
645
|
|
|
602
|
-
#: src/lib/services/
|
|
646
|
+
#: src/lib/services/job.service.ts
|
|
603
647
|
msgid "Could not finish backing up."
|
|
604
648
|
msgstr "Could not finish backing up."
|
|
605
649
|
|
|
@@ -690,7 +734,7 @@ msgstr "Disable write-only"
|
|
|
690
734
|
msgid "Discord account linked. You can head back to Discord."
|
|
691
735
|
msgstr "Discord account linked. You can head back to Discord."
|
|
692
736
|
|
|
693
|
-
#: src/lib/services/
|
|
737
|
+
#: src/lib/services/job.service.ts
|
|
694
738
|
msgid "Download Full Log"
|
|
695
739
|
msgstr "Download Full Log"
|
|
696
740
|
|
|
@@ -698,6 +742,10 @@ msgstr "Download Full Log"
|
|
|
698
742
|
msgid "Download recovery key"
|
|
699
743
|
msgstr "Download recovery key"
|
|
700
744
|
|
|
745
|
+
#: src/lib/services/job.service.ts
|
|
746
|
+
msgid "Download Support Log"
|
|
747
|
+
msgstr "Download Support Log"
|
|
748
|
+
|
|
701
749
|
#: src/lib/components/onboarding/RecoveryKeyDisplay.svelte
|
|
702
750
|
msgid "Downloaded"
|
|
703
751
|
msgstr "Downloaded"
|
|
@@ -733,8 +781,8 @@ msgstr "Enter a backup name."
|
|
|
733
781
|
|
|
734
782
|
#: src/lib/components/schedules/dialogs/ConfigureScheduleModal.svelte
|
|
735
783
|
#: src/lib/components/schedules/dialogs/CreateScheduleModal.svelte
|
|
736
|
-
msgid "Enter a valid cron expression, for example
|
|
737
|
-
msgstr "Enter a valid cron expression, for example
|
|
784
|
+
msgid "Enter a valid cron expression, for example 0 3 * * *"
|
|
785
|
+
msgstr "Enter a valid cron expression, for example 0 3 * * *"
|
|
738
786
|
|
|
739
787
|
#: ../../web/src/routes/login/invite/+page.svelte
|
|
740
788
|
msgid "Enter an invite code to continue."
|
|
@@ -757,10 +805,6 @@ msgstr "Estimated {size}"
|
|
|
757
805
|
msgid "Event"
|
|
758
806
|
msgstr "Event"
|
|
759
807
|
|
|
760
|
-
#: src/lib/components/backups/dialogs/ViewStatusModal.svelte
|
|
761
|
-
msgid "Event Log"
|
|
762
|
-
msgstr "Event Log"
|
|
763
|
-
|
|
764
808
|
#: src/lib/components/backends/dialogs/SelectBackendModal.svelte
|
|
765
809
|
msgid "Existing Local Storage"
|
|
766
810
|
msgstr "Existing Local Storage"
|
|
@@ -784,7 +828,7 @@ msgstr "Failed {noun}"
|
|
|
784
828
|
msgid "Failed only"
|
|
785
829
|
msgstr "Failed only"
|
|
786
830
|
|
|
787
|
-
#: src/lib/services/
|
|
831
|
+
#: src/lib/services/job.service.ts
|
|
788
832
|
msgid "Failed to cancel task"
|
|
789
833
|
msgstr "Failed to cancel task"
|
|
790
834
|
|
|
@@ -841,14 +885,6 @@ msgstr "Failed to load onboarding status"
|
|
|
841
885
|
msgid "Failed to load recovery key"
|
|
842
886
|
msgstr "Failed to load recovery key"
|
|
843
887
|
|
|
844
|
-
#: src/lib/services/runHistory.service.ts
|
|
845
|
-
msgid "Failed to load run history"
|
|
846
|
-
msgstr "Failed to load run history"
|
|
847
|
-
|
|
848
|
-
#: src/lib/services/task.service.ts
|
|
849
|
-
msgid "Failed to load running tasks"
|
|
850
|
-
msgstr "Failed to load running tasks"
|
|
851
|
-
|
|
852
888
|
#: src/lib/services/schedule.service.ts
|
|
853
889
|
msgid "Failed to load schedules"
|
|
854
890
|
msgstr "Failed to load schedules"
|
|
@@ -869,6 +905,10 @@ msgstr "Failed to pause schedule"
|
|
|
869
905
|
msgid "Failed to reconfigure backend"
|
|
870
906
|
msgstr "Failed to reconfigure backend"
|
|
871
907
|
|
|
908
|
+
#: src/lib/services/repository.service.ts
|
|
909
|
+
msgid "Failed to remove repository"
|
|
910
|
+
msgstr "Failed to remove repository"
|
|
911
|
+
|
|
872
912
|
#: src/lib/services/onboarding.service.ts
|
|
873
913
|
msgid "Failed to report error"
|
|
874
914
|
msgstr "Failed to report error"
|
|
@@ -890,6 +930,10 @@ msgstr "Failed to save preferences"
|
|
|
890
930
|
msgid "Failed to save settings"
|
|
891
931
|
msgstr "Failed to save settings"
|
|
892
932
|
|
|
933
|
+
#: src/lib/services/supportMode.service.ts
|
|
934
|
+
msgid "Failed to save support mode"
|
|
935
|
+
msgstr "Failed to save support mode"
|
|
936
|
+
|
|
893
937
|
#: src/lib/services/repository.service.ts
|
|
894
938
|
msgid "Failed to start backup"
|
|
895
939
|
msgstr "Failed to start backup"
|
|
@@ -1096,6 +1140,10 @@ msgstr "I saved my recovery key somewhere safe."
|
|
|
1096
1140
|
msgid "I understand my beta backups may be deleted."
|
|
1097
1141
|
msgstr "I understand my beta backups may be deleted."
|
|
1098
1142
|
|
|
1143
|
+
#: src/lib/components/backups/dialogs/SelectRepositoryModal.svelte
|
|
1144
|
+
msgid "ID {id}"
|
|
1145
|
+
msgstr "ID {id}"
|
|
1146
|
+
|
|
1099
1147
|
#: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
|
|
1100
1148
|
msgid "Ignore"
|
|
1101
1149
|
msgstr "Ignore"
|
|
@@ -1149,6 +1197,10 @@ msgstr "In-place restore"
|
|
|
1149
1197
|
msgid "In-progress or incomplete"
|
|
1150
1198
|
msgstr "In-progress or incomplete"
|
|
1151
1199
|
|
|
1200
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1201
|
+
msgid "Include file names"
|
|
1202
|
+
msgstr "Include file names"
|
|
1203
|
+
|
|
1152
1204
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsBackupContents.svelte
|
|
1153
1205
|
msgid "Include these backup settings, so they survive a restore."
|
|
1154
1206
|
msgstr "Include these backup settings, so they survive a restore."
|
|
@@ -1161,6 +1213,14 @@ msgstr "Included"
|
|
|
1161
1213
|
msgid "Included: {names}"
|
|
1162
1214
|
msgstr "Included: {names}"
|
|
1163
1215
|
|
|
1216
|
+
#: src/lib/components/backups/BackupItem.svelte
|
|
1217
|
+
msgid "Interrupted"
|
|
1218
|
+
msgstr "Interrupted"
|
|
1219
|
+
|
|
1220
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
1221
|
+
msgid "Interrupted {noun}"
|
|
1222
|
+
msgstr "Interrupted {noun}"
|
|
1223
|
+
|
|
1164
1224
|
#: ../../web/src/routes/login/invite/+page.svelte
|
|
1165
1225
|
#: ../../web/src/routes/login/invite/+page.svelte
|
|
1166
1226
|
#: ../../web/src/routes/login/invite/+page.svelte
|
|
@@ -1175,10 +1235,22 @@ msgstr "It is highly recommended you back this up!"
|
|
|
1175
1235
|
msgid "Join the beta"
|
|
1176
1236
|
msgstr "Join the beta"
|
|
1177
1237
|
|
|
1238
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
1239
|
+
msgid "Keep backing up"
|
|
1240
|
+
msgstr "Keep backing up"
|
|
1241
|
+
|
|
1178
1242
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsStorage.svelte
|
|
1179
1243
|
msgid "Keep latest two backups"
|
|
1180
1244
|
msgstr "Keep latest two backups"
|
|
1181
1245
|
|
|
1246
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
1247
|
+
msgid "Keep pruning"
|
|
1248
|
+
msgstr "Keep pruning"
|
|
1249
|
+
|
|
1250
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
1251
|
+
msgid "Keep restoring"
|
|
1252
|
+
msgstr "Keep restoring"
|
|
1253
|
+
|
|
1182
1254
|
#: src/lib/components/onboarding/dialogs/BackupsRecoveryKeyModal.svelte
|
|
1183
1255
|
msgid "Keep this key somewhere safe. It is required to restore your backups."
|
|
1184
1256
|
msgstr "Keep this key somewhere safe. It is required to restore your backups."
|
|
@@ -1219,11 +1291,15 @@ msgstr "Last backup: {date}"
|
|
|
1219
1291
|
msgid "Learn More"
|
|
1220
1292
|
msgstr "Learn More"
|
|
1221
1293
|
|
|
1294
|
+
#: src/lib/services/job.service.ts
|
|
1295
|
+
msgid "Less than a minute remaining"
|
|
1296
|
+
msgstr "Less than a minute remaining"
|
|
1297
|
+
|
|
1222
1298
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsBackupContents.svelte
|
|
1223
1299
|
msgid "Libraries stored outside of Immich. New libraries are included automatically unless you choose specific ones."
|
|
1224
1300
|
msgstr "Libraries stored outside of Immich. New libraries are included automatically unless you choose specific ones."
|
|
1225
1301
|
|
|
1226
|
-
#: src/lib/services/
|
|
1302
|
+
#: src/lib/services/job.service.ts
|
|
1227
1303
|
msgid "Library successfully backed up."
|
|
1228
1304
|
msgstr "Library successfully backed up."
|
|
1229
1305
|
|
|
@@ -1349,6 +1425,18 @@ msgstr "Metrics history"
|
|
|
1349
1425
|
msgid "Metrics history for {name}"
|
|
1350
1426
|
msgstr "Metrics history for {name}"
|
|
1351
1427
|
|
|
1428
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
1429
|
+
msgid "metrics sync"
|
|
1430
|
+
msgstr "metrics sync"
|
|
1431
|
+
|
|
1432
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
1433
|
+
msgid "Metrics sync"
|
|
1434
|
+
msgstr "Metrics sync"
|
|
1435
|
+
|
|
1436
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
1437
|
+
msgid "Metrics synced"
|
|
1438
|
+
msgstr "Metrics synced"
|
|
1439
|
+
|
|
1352
1440
|
#: src/lib/components/backends/BackendItem.svelte
|
|
1353
1441
|
msgid "Missing on service"
|
|
1354
1442
|
msgstr "Missing on service"
|
|
@@ -1376,7 +1464,7 @@ msgstr "Move {name} up"
|
|
|
1376
1464
|
msgid "Name"
|
|
1377
1465
|
msgstr "Name"
|
|
1378
1466
|
|
|
1379
|
-
#: src/lib/services/
|
|
1467
|
+
#: src/lib/services/job.service.ts
|
|
1380
1468
|
msgid "Nearly done."
|
|
1381
1469
|
msgstr "Nearly done."
|
|
1382
1470
|
|
|
@@ -1536,6 +1624,10 @@ msgstr "Notify me when backup storage is unavailable or running low."
|
|
|
1536
1624
|
msgid "Notify me when FUTO Backups billing needs attention."
|
|
1537
1625
|
msgstr "Notify me when FUTO Backups billing needs attention."
|
|
1538
1626
|
|
|
1627
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1628
|
+
msgid "Off"
|
|
1629
|
+
msgstr "Off"
|
|
1630
|
+
|
|
1539
1631
|
#: src/lib/components/backends/BackendItem.svelte
|
|
1540
1632
|
#: src/lib/components/backups/BackupItem.svelte
|
|
1541
1633
|
#: src/lib/components/dashboard/DashboardBackupHealth.svelte
|
|
@@ -1638,9 +1730,14 @@ msgid "Preparing prune"
|
|
|
1638
1730
|
msgstr "Preparing prune"
|
|
1639
1731
|
|
|
1640
1732
|
#: src/lib/components/backups/BackupStatus.svelte
|
|
1733
|
+
#: src/lib/components/onboarding/restore-point-flow/RestorePointFlow4Restore.svelte
|
|
1641
1734
|
msgid "Preparing restore"
|
|
1642
1735
|
msgstr "Preparing restore"
|
|
1643
1736
|
|
|
1737
|
+
#: src/lib/components/jobs/JobProgressLabel.svelte
|
|
1738
|
+
msgid "Preparing…"
|
|
1739
|
+
msgstr "Preparing…"
|
|
1740
|
+
|
|
1644
1741
|
#: src/lib/components/backups/dialogs/CreateRepositoryModal.svelte
|
|
1645
1742
|
msgid "Prevent anything being deleted"
|
|
1646
1743
|
msgstr "Prevent anything being deleted"
|
|
@@ -1657,6 +1754,10 @@ msgstr "Print"
|
|
|
1657
1754
|
msgid "processed"
|
|
1658
1755
|
msgstr "processed"
|
|
1659
1756
|
|
|
1757
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
1758
|
+
msgid "Progress since the last snapshot will be lost."
|
|
1759
|
+
msgstr "Progress since the last snapshot will be lost."
|
|
1760
|
+
|
|
1660
1761
|
#: src/lib/components/onboarding/upsell/UpsellProtectYourImmichLibrary.svelte
|
|
1661
1762
|
msgid "Protect your Immich library"
|
|
1662
1763
|
msgstr "Protect your Immich library"
|
|
@@ -1686,6 +1787,18 @@ msgstr "Pruning old backups"
|
|
|
1686
1787
|
msgid "Pruning old backups was cancelled"
|
|
1687
1788
|
msgstr "Pruning old backups was cancelled"
|
|
1688
1789
|
|
|
1790
|
+
#: src/lib/components/backups/BackupStatus.svelte
|
|
1791
|
+
msgid "Pruning old backups was interrupted"
|
|
1792
|
+
msgstr "Pruning old backups was interrupted"
|
|
1793
|
+
|
|
1794
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
1795
|
+
msgid "Pruning will stop and will need to be started again."
|
|
1796
|
+
msgstr "Pruning will stop and will need to be started again."
|
|
1797
|
+
|
|
1798
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
1799
|
+
msgid "Queued"
|
|
1800
|
+
msgstr "Queued"
|
|
1801
|
+
|
|
1689
1802
|
#: src/lib/components/schedules/ScheduleItem.svelte
|
|
1690
1803
|
msgid "Ran"
|
|
1691
1804
|
msgstr "Ran"
|
|
@@ -1702,6 +1815,10 @@ msgstr "Recent backups"
|
|
|
1702
1815
|
msgid "Reconfigure"
|
|
1703
1816
|
msgstr "Reconfigure"
|
|
1704
1817
|
|
|
1818
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1819
|
+
msgid "Record detailed logs to help FUTO support look into a problem."
|
|
1820
|
+
msgstr "Record detailed logs to help FUTO support look into a problem."
|
|
1821
|
+
|
|
1705
1822
|
#: src/lib/components/onboarding/dialogs/BackupsRecoveryKeyModal.svelte
|
|
1706
1823
|
msgid "Recovery key"
|
|
1707
1824
|
msgstr "Recovery key"
|
|
@@ -1728,6 +1845,10 @@ msgstr "Remove {name}"
|
|
|
1728
1845
|
msgid "Remove {path}"
|
|
1729
1846
|
msgstr "Remove {path}"
|
|
1730
1847
|
|
|
1848
|
+
#: src/lib/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte
|
|
1849
|
+
msgid "Remove from this machine"
|
|
1850
|
+
msgstr "Remove from this machine"
|
|
1851
|
+
|
|
1731
1852
|
#: src/lib/components/integrations/immich/ImmichManageBackupPage.svelte
|
|
1732
1853
|
msgid "Report An Issue"
|
|
1733
1854
|
msgstr "Report An Issue"
|
|
@@ -1748,9 +1869,14 @@ msgstr "Repositories"
|
|
|
1748
1869
|
msgid "Repository is readable and accessible!"
|
|
1749
1870
|
msgstr "Repository is readable and accessible!"
|
|
1750
1871
|
|
|
1872
|
+
#: src/lib/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte
|
|
1873
|
+
msgid "Repository no longer on FUTO Backups"
|
|
1874
|
+
msgstr "Repository no longer on FUTO Backups"
|
|
1875
|
+
|
|
1751
1876
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsBandwidth.svelte
|
|
1752
1877
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsSchedule.svelte
|
|
1753
1878
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsStorage.svelte
|
|
1879
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1754
1880
|
msgid "Reset"
|
|
1755
1881
|
msgstr "Reset"
|
|
1756
1882
|
|
|
@@ -1774,6 +1900,10 @@ msgstr "Restore"
|
|
|
1774
1900
|
msgid "Restore Backup"
|
|
1775
1901
|
msgstr "Restore Backup"
|
|
1776
1902
|
|
|
1903
|
+
#: src/lib/components/onboarding/restore-point-flow/RestorePointFlow4Restore.svelte
|
|
1904
|
+
msgid "Restore cancelled"
|
|
1905
|
+
msgstr "Restore cancelled"
|
|
1906
|
+
|
|
1777
1907
|
#: src/lib/components/onboarding/restore-point-flow/RestorePointFlow3ConfirmRestore.svelte
|
|
1778
1908
|
msgid "Restore configuration"
|
|
1779
1909
|
msgstr "Restore configuration"
|
|
@@ -1867,6 +1997,10 @@ msgstr "Run backups automatically"
|
|
|
1867
1997
|
msgid "Run History for {name}"
|
|
1868
1998
|
msgstr "Run History for {name}"
|
|
1869
1999
|
|
|
2000
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2001
|
+
msgid "Runs in support mode"
|
|
2002
|
+
msgstr "Runs in support mode"
|
|
2003
|
+
|
|
1870
2004
|
#: src/lib/components/onboarding/steps/OnboardingStepChooseStorage.svelte
|
|
1871
2005
|
msgid "S3 Bucket"
|
|
1872
2006
|
msgstr "S3 Bucket"
|
|
@@ -1882,6 +2016,7 @@ msgstr "S3 Server"
|
|
|
1882
2016
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsStorage.svelte
|
|
1883
2017
|
#: src/lib/components/onboarding/steps/OnboardingStepImportRecoveryKey.svelte
|
|
1884
2018
|
#: src/lib/components/settings/SettingsNotifications.svelte
|
|
2019
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1885
2020
|
#: src/lib/components/ui/PathPickerModal.svelte
|
|
1886
2021
|
msgid "Save"
|
|
1887
2022
|
msgstr "Save"
|
|
@@ -1897,6 +2032,10 @@ msgstr "Save to password manager"
|
|
|
1897
2032
|
msgid "Save your recovery key"
|
|
1898
2033
|
msgstr "Save your recovery key"
|
|
1899
2034
|
|
|
2035
|
+
#: src/lib/services/job.service.ts
|
|
2036
|
+
msgid "Scanning files…"
|
|
2037
|
+
msgstr "Scanning files…"
|
|
2038
|
+
|
|
1900
2039
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsSchedule.svelte
|
|
1901
2040
|
#: src/lib/components/onboarding/steps/OnboardingStep4FirstBackup.svelte
|
|
1902
2041
|
#: src/lib/components/schedules/dialogs/ConfigureScheduleModal.svelte
|
|
@@ -1945,6 +2084,14 @@ msgstr "Select where a copy of your Immich library should be stored."
|
|
|
1945
2084
|
msgid "Selected paths"
|
|
1946
2085
|
msgstr "Selected paths"
|
|
1947
2086
|
|
|
2087
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2088
|
+
msgid "Send file and folder names as they are. When off, they are replaced with placeholders before they leave this server."
|
|
2089
|
+
msgstr "Send file and folder names as they are. When off, they are replaced with placeholders before they leave this server."
|
|
2090
|
+
|
|
2091
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2092
|
+
msgid "Send logs to FUTO"
|
|
2093
|
+
msgstr "Send logs to FUTO"
|
|
2094
|
+
|
|
1948
2095
|
#: src/lib/components/integrations/immich/ImmichBackupsSidebarItem.svelte
|
|
1949
2096
|
msgid "Set up"
|
|
1950
2097
|
msgstr "Set up"
|
|
@@ -1991,7 +2138,7 @@ msgstr "Snapshots"
|
|
|
1991
2138
|
msgid "Snapshots for {name}"
|
|
1992
2139
|
msgstr "Snapshots for {name}"
|
|
1993
2140
|
|
|
1994
|
-
#: src/lib/services/
|
|
2141
|
+
#: src/lib/services/job.service.ts
|
|
1995
2142
|
msgid "Some files could not be backed up. Check the backup log for details."
|
|
1996
2143
|
msgstr "Some files could not be backed up. Check the backup log for details."
|
|
1997
2144
|
|
|
@@ -2067,6 +2214,10 @@ msgstr "Store backups on storage shared by someone you trust."
|
|
|
2067
2214
|
msgid "Store backups on storage you manage."
|
|
2068
2215
|
msgstr "Store backups on storage you manage."
|
|
2069
2216
|
|
|
2217
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2218
|
+
msgid "Stream the detailed logs to FUTO while each run happens, so support can read them. Runs with a lot of files produce a lot of logs."
|
|
2219
|
+
msgstr "Stream the detailed logs to FUTO while each run happens, so support can read them. Runs with a lot of files produce a lot of logs."
|
|
2220
|
+
|
|
2070
2221
|
#: src/lib/components/onboarding/steps/OnboardingStepChooseStorage.svelte
|
|
2071
2222
|
msgid "Subscription"
|
|
2072
2223
|
msgstr "Subscription"
|
|
@@ -2084,6 +2235,18 @@ msgstr "Successful {noun}"
|
|
|
2084
2235
|
msgid "Successful only"
|
|
2085
2236
|
msgstr "Successful only"
|
|
2086
2237
|
|
|
2238
|
+
#: src/lib/components/backups/dialogs/ViewStatusModal.svelte
|
|
2239
|
+
msgid "Support code: {code}. Share it with FUTO support so they can find this run's logs."
|
|
2240
|
+
msgstr "Support code: {code}. Share it with FUTO support so they can find this run's logs."
|
|
2241
|
+
|
|
2242
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2243
|
+
msgid "Support mode"
|
|
2244
|
+
msgstr "Support mode"
|
|
2245
|
+
|
|
2246
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2247
|
+
msgid "Support mode is off."
|
|
2248
|
+
msgstr "Support mode is off."
|
|
2249
|
+
|
|
2087
2250
|
#: src/lib/components/backups/dialogs/RestoreSnapshotModal.svelte
|
|
2088
2251
|
msgid "Target"
|
|
2089
2252
|
msgstr "Target"
|
|
@@ -2102,10 +2265,22 @@ msgstr "Temporary beta access"
|
|
|
2102
2265
|
msgid "That account does not own this instance. Log in with the account it was connected with."
|
|
2103
2266
|
msgstr "That account does not own this instance. Log in with the account it was connected with."
|
|
2104
2267
|
|
|
2105
|
-
#: src/lib/services/
|
|
2268
|
+
#: src/lib/services/job.service.ts
|
|
2269
|
+
msgid "The backup stopped before it could finish."
|
|
2270
|
+
msgstr "The backup stopped before it could finish."
|
|
2271
|
+
|
|
2272
|
+
#: src/lib/services/job.service.ts
|
|
2106
2273
|
msgid "The backup was stopped before it finished."
|
|
2107
2274
|
msgstr "The backup was stopped before it finished."
|
|
2108
2275
|
|
|
2276
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2277
|
+
msgid "The next backups, cleanups and restores record detailed logs, which you can download from their history. Support mode turns itself off once they have run."
|
|
2278
|
+
msgstr "The next backups, cleanups and restores record detailed logs, which you can download from their history. Support mode turns itself off once they have run."
|
|
2279
|
+
|
|
2280
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
2281
|
+
msgid "The restore will stop and will need to be started again."
|
|
2282
|
+
msgstr "The restore will stop and will need to be started again."
|
|
2283
|
+
|
|
2109
2284
|
#: src/lib/components/onboarding/steps/OnboardingStepBetaDisclaimer.svelte
|
|
2110
2285
|
msgid "The service may be reset and your backup data may be deleted when the beta ends."
|
|
2111
2286
|
msgstr "The service may be reset and your backup data may be deleted when the beta ends."
|
|
@@ -2134,6 +2309,15 @@ msgstr "This is an early version of FUTO Backups. The service may be reset and y
|
|
|
2134
2309
|
msgid "This link is invalid or has expired. Click the support button in Discord to get a new one."
|
|
2135
2310
|
msgstr "This link is invalid or has expired. Click the support button in Discord to get a new one."
|
|
2136
2311
|
|
|
2312
|
+
#: src/lib/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte
|
|
2313
|
+
msgid "This repository no longer exists on FUTO Backups. Remove it from this machine? Local settings (paths, schedules) will be removed; no backup data is affected."
|
|
2314
|
+
msgstr "This repository no longer exists on FUTO Backups. Remove it from this machine? Local settings (paths, schedules) will be removed; no backup data is affected."
|
|
2315
|
+
|
|
2316
|
+
#: src/lib/components/schedules/dialogs/ConfigureScheduleModal.svelte
|
|
2317
|
+
#: src/lib/components/schedules/dialogs/CreateScheduleModal.svelte
|
|
2318
|
+
msgid "This schedule runs more than once an hour. A * in the minute field runs a backup every minute."
|
|
2319
|
+
msgstr "This schedule runs more than once an hour. A * in the minute field runs a backup every minute."
|
|
2320
|
+
|
|
2137
2321
|
#: src/lib/services/schedule.service.ts
|
|
2138
2322
|
msgid "This schedule will be removed."
|
|
2139
2323
|
msgstr "This schedule will be removed."
|
|
@@ -2177,10 +2361,6 @@ msgstr "Unable to copy to clipboard"
|
|
|
2177
2361
|
msgid "Unable to link your Discord account."
|
|
2178
2362
|
msgstr "Unable to link your Discord account."
|
|
2179
2363
|
|
|
2180
|
-
#: src/lib/services/log.service.svelte.ts
|
|
2181
|
-
msgid "Unknown error"
|
|
2182
|
-
msgstr "Unknown error"
|
|
2183
|
-
|
|
2184
2364
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsBandwidth.svelte
|
|
2185
2365
|
msgid "Until"
|
|
2186
2366
|
msgstr "Until"
|
|
@@ -2220,7 +2400,7 @@ msgstr "View all"
|
|
|
2220
2400
|
msgid "View history"
|
|
2221
2401
|
msgstr "View history"
|
|
2222
2402
|
|
|
2223
|
-
#: src/lib/services/
|
|
2403
|
+
#: src/lib/services/job.service.ts
|
|
2224
2404
|
msgid "View Log"
|
|
2225
2405
|
msgstr "View Log"
|
|
2226
2406
|
|
|
@@ -2233,6 +2413,10 @@ msgstr "View recovery key"
|
|
|
2233
2413
|
msgid "Waiting for you to confirm login..."
|
|
2234
2414
|
msgstr "Waiting for you to confirm login..."
|
|
2235
2415
|
|
|
2416
|
+
#: src/lib/components/jobs/JobProgressLabel.svelte
|
|
2417
|
+
msgid "Waiting to start"
|
|
2418
|
+
msgstr "Waiting to start"
|
|
2419
|
+
|
|
2236
2420
|
#: src/lib/components/backups/BackupItem.svelte
|
|
2237
2421
|
msgid "Warnings"
|
|
2238
2422
|
msgstr "Warnings"
|
|
@@ -2334,6 +2518,10 @@ msgstr "Your backup is encrypted and requires your recovery key to restore."
|
|
|
2334
2518
|
msgid "Your backup was cancelled"
|
|
2335
2519
|
msgstr "Your backup was cancelled"
|
|
2336
2520
|
|
|
2521
|
+
#: src/lib/components/backups/BackupStatus.svelte
|
|
2522
|
+
msgid "Your backup was interrupted"
|
|
2523
|
+
msgstr "Your backup was interrupted"
|
|
2524
|
+
|
|
2337
2525
|
#: src/lib/components/dashboard/DashboardBackupHealth.svelte
|
|
2338
2526
|
msgid "Your backups"
|
|
2339
2527
|
msgstr "Your backups"
|
|
@@ -2402,6 +2590,10 @@ msgstr "Your photos, files, and recovery key are never collected and never leave
|
|
|
2402
2590
|
msgid "Your restore was cancelled"
|
|
2403
2591
|
msgstr "Your restore was cancelled"
|
|
2404
2592
|
|
|
2593
|
+
#: src/lib/components/backups/BackupStatus.svelte
|
|
2594
|
+
msgid "Your restore was interrupted"
|
|
2595
|
+
msgstr "Your restore was interrupted"
|
|
2596
|
+
|
|
2405
2597
|
#: src/lib/components/onboarding/steps/OnboardingStep1FinishSetup.svelte
|
|
2406
2598
|
msgid "Your subscription is active. Finish setup to create your recovery key and start backing up your Immich library."
|
|
2407
2599
|
msgstr "Your subscription is active. Finish setup to create your recovery key and start backing up your Immich library."
|
|
@@ -14,11 +14,14 @@ export declare const useImmichBackupStatusEventHandler: () => {
|
|
|
14
14
|
onRepositoryUpdate: () => undefined;
|
|
15
15
|
onRepositoryDelete: () => undefined;
|
|
16
16
|
onScheduleUpdate: () => undefined;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
onJobCreate: () => undefined;
|
|
18
|
+
onJobUpdate: () => undefined;
|
|
19
19
|
};
|
|
20
20
|
export type ImmichBackupStatus = {
|
|
21
|
-
kind: 'loading' | 'offline' | 'missing' | '
|
|
21
|
+
kind: 'loading' | 'offline' | 'missing' | 'paused' | 'unconfigured' | 'never';
|
|
22
|
+
} | {
|
|
23
|
+
kind: 'running';
|
|
24
|
+
jobId: string;
|
|
22
25
|
} | {
|
|
23
26
|
kind: 'complete' | 'warn' | 'incomplete' | 'failed' | 'cancelled';
|
|
24
27
|
lastBackup: string;
|
|
@@ -6,6 +6,7 @@ import { queryClient } from '../query-client';
|
|
|
6
6
|
import { handleError } from '../utils/handle-error';
|
|
7
7
|
import { getBackupOutcome } from '../utils/backup-status';
|
|
8
8
|
import { createMutation, createQuery } from '@tanstack/svelte-query';
|
|
9
|
+
import { isJobFinished } from './job.service';
|
|
9
10
|
import { handleCreateBackup } from './repository.service';
|
|
10
11
|
import { gt, msg } from 'svelte-i18n-lingui';
|
|
11
12
|
export const getBackupPageActions = (repositoryId, onConfigure, t) => {
|
|
@@ -39,8 +40,8 @@ export const useImmichBackupStatusEventHandler = () => ({
|
|
|
39
40
|
onRepositoryUpdate: invalidateImmichBackupStatus,
|
|
40
41
|
onRepositoryDelete: invalidateImmichBackupStatus,
|
|
41
42
|
onScheduleUpdate: invalidateImmichBackupStatus,
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
onJobCreate: invalidateImmichBackupStatus,
|
|
44
|
+
onJobUpdate: invalidateImmichBackupStatus,
|
|
44
45
|
});
|
|
45
46
|
export const toImmichBackupStatus = (data, loading) => {
|
|
46
47
|
if (loading || !data) {
|
|
@@ -52,8 +53,8 @@ export const toImmichBackupStatus = (data, loading) => {
|
|
|
52
53
|
if (data.repository?.backends?.primary.online === false) {
|
|
53
54
|
return { kind: 'missing' };
|
|
54
55
|
}
|
|
55
|
-
if (data.
|
|
56
|
-
return { kind: 'running' };
|
|
56
|
+
if (data.latestBackupJob && !isJobFinished(data.latestBackupJob.status)) {
|
|
57
|
+
return { kind: 'running', jobId: data.latestBackupJob.id };
|
|
57
58
|
}
|
|
58
59
|
const outcome = getBackupOutcome(data.repository?.metrics);
|
|
59
60
|
const lastBackup = data.repository?.metrics.lastBackup;
|