10.3 Reports
Reports condense the state of the backups into one document: runs, failures, machines that are not fully protected, repository growth with a forecast, and expiring certificates. The server creates them daily and weekly, stores them, and sends them to every notification channel that subscribed to reports. One mail in the morning is enough to keep the overview.
Report kinds
Kind | Period | Default time |
|---|---|---|
Daily | the last 24 hours up to creation | every day at 07:00 |
Weekly | the last 7 days up to creation | Mondays at 07:15 |
Both times use the server's local time and can be changed or switched off in server.toml (see below).
Content of a report
The report is titled "PDC-Backup daily report: N run(s), F failed, M machine(s) not fully protected" or "weekly report". Title and section names are always English, also in the German interface. These sections follow:
Section | Content |
|---|---|
Period | Start and end of the report period. |
Runs | Number of runs per status (success, warning, failed, cancelled) in the period. |
Jobs | Per job the number of runs, of which successful, with warnings, and failed. Restores are not counted here. |
Failures | Every failed run with kind, job, agent, and error message; "none" if there was none. |
Machines not fully protected | All machines whose protection status is not green, with status (yellow or red) and reason. How the protection status arises is described in chapter 07 Schedules and Plans and on the dashboard (chapter 04 Web Interface). |
Repositories | All repositories, fastest growing first: stored data, growth in the report period and, if a forecast is possible, the date the repository is expected to be full. |
Certificates expiring soon | Server certificate and internal CA once their remaining lifetime is at most 30 days (or the larger value of |
Active retention holds | Number of active retention holds with the hint to release them after checking. Shown only if there are any (see section 10.5 Ransomware early warning). |
The message that carries a report has the severity "warning" if at least one run failed or a machine is not fully protected; otherwise it is informational only.
"Repository full" forecast
The forecast applies to repositories on local drives and SMB shares, because only there the free space is known. At every statistics refresh the server records the size of the repository. From the values of the last 30 and 90 days it computes a linear and an exponential trend each. From that it derives when the repository size plus the free space of the volume would be reached. Only trends with a coefficient of determination RΒ² of at least 0.5 count; the earliest date wins. If the repository shrinks or no trend fits, the date is omitted. The forecast of a single repository is also shown in its details (chapter 08 Repositories and Storage).
The Reports page
The Reports page has the list of stored reports on the left and the view of the selected report on the right.
List and controls
Element | Effect |
|---|---|
Report kind: All, Daily, Weekly | Filters the list. |
Preview daily, Preview weekly | Shows the report for the period up to now (24 hours or 7 days). The preview is neither stored nor sent. At the top of the preview the runs are listed by status; Close preview ends it. All roles may open previews. |
Send now: Daily, Weekly | Creates the report immediately, stores it, and sends it to the channels with a summary rule. Visible from the operator role. In the preview, Create and send does the same. The message reads "Daily report created and sent to the channels with a summary rule". |
Recipients | Links to the Notifications page (visible to admins only). The rules there control who receives reports. |
Table Report, Period, Created | Stored reports, 20 per page. Click to select a report; the first one is preselected. Right-click offers Open report, Open HTML in new tab, Copy report ID, and Copy period. |
View: Formatted, Text | The report as HTML, as it is mailed, or as plain text. If the HTML is missing, only the text remains. |
Open HTML | Opens the sent HTML in a new tab. The HTML contains no scripts and loads nothing from elsewhere. |
Not fully protected: | Below the report the affected machines appear as buttons (red or yellow dot); click to open the agent. |
Schedule
The report times are in the [reports] section of server.toml. The server reads the file at startup, so a change takes effect after the service restarts. Times use the server's local time. If the server was not running at the due time, it creates the report after the next start, with the period up to that moment.
| Name | Required | Default | Description |
|---|---|---|---|
daily_time | 07:00 | Time of the daily report as HH:MM (server local time). Empty: no daily report. | |
weekly_day | mon | Weekday of the weekly report: mon, tue, wed, thu, fri, sat, or sun. Empty: no weekly report. | |
weekly_time | 07:15 | Time of the weekly report as HH:MM. Empty: no weekly report (weekly_day and weekly_time must both be set). |
[reports]
daily_time = "06:30"
weekly_day = "fri"
weekly_time = "16:00"Recipients and retention
Reports go to every enabled notification channel that has subscribed to the event Report (summary) (summary) in a rule. Email (SMTP) channels receive the formatted HTML, all others the text. A rule limited to a job or agent receives no reports, because a report does not belong to a single job or agent. Setting up channels and rules: see section 10.4 Notifications.
Without a channel that has a summary rule, reports are still created and stored but sent nowhere. Stored reports are kept for 400 days. The REST API serves them at GET /api/v1/reports (list), GET /api/v1/reports/{id} (data and text), and GET /api/v1/reports/{id}/html; POST /api/v1/reports creates a report immediately (operator role, optionally with its own period via start and end).