Duplicati: flag warnings run after run, and forecast how much room backups take
A job whose last three runs in a row all finished with warnings is flagged and raises an alert (on by default, switchable off per job). The size of the destination, and its quota where the storage says, are read from the reports and kept with each run; the Stored column shows the growth and, where the room is known, when it will be full, with an alert inside the disk-forecast window. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
333146e8e3
commit
4f077d4f4a
15 files changed
+10115
-14
No files matched your search
@@ -1343,6 +1343,9 @@ One backup job of one source, as its last report left it; learned from a first r
|
||||
| `consecutive_failures` | integer NOT NULL, default 0 | Critical from 2. |
|
||||
| `expected_hours` | integer NOT NULL, default 48 | How long it may go without succeeding. |
|
||||
| `alert` | bool NOT NULL, default 1 | |
|
||||
| `alert_warnings` | bool NOT NULL, default 0 | Alert whenever the last run had warnings. |
|
||||
| `warn_streak_alert` | bool NOT NULL, default 1 | Alert when the last three runs in a row all had warnings (not when `alert_warnings` already says it each time). |
|
||||
| `destination_bytes`, `quota_bytes` | integer | How much the backups take up where they are kept (Duplicati's `KnownFileSize`) and the room that storage has (`TotalQuotaSpace`, only when it says; zero and less are null). A report that does not say leaves what was known. |
|
||||
|
||||
#### `duplicati_runs`
|
||||
|
||||
@@ -1355,6 +1358,7 @@ Each report of a backup, for its history: 400 days and at most 400 per job. `bac
|
||||
| `result` | text NOT NULL | |
|
||||
| `duration_seconds`, `size_bytes`, `files_changed` | integer | |
|
||||
| `warnings`, `errors` | integer NOT NULL, default 0 | |
|
||||
| `destination_bytes` | integer | The size of the destination after this run, when the report said; the growth is worked out from these. |
|
||||
|
||||
#### `alert_rules`
|
||||
|
||||
|
||||
Reference in new issue
Block a user