.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH BORGREPORT "1" "November 2024" "borgreport 0.3.0" "User Commands"
.SH NAME
borgreport \- manual page for borgreport 0.3.0
.SH SYNOPSIS
.B borgreport
[\fI\,OPTIONS\/\fR]
.SH DESCRIPTION
Summarize the status of multiple BorgBackup repositories in one report and export metrics
.SH OPTIONS
.HP
\fB\-\-env\-dir\fR
.IP
Directory to look for *.env files containing BORG_* env vars for a repository. Each file name represents a repository name in the report.
.HP
\fB\-\-env\-inherit\fR
.IP
Inherit BORG_* env vars for a single . This allows to run `borgreport` after `borg` while reusing the environment.
.HP
\fB\-\-text\-to\fR
.IP
Write the text report to instead of stdout.
.HP
\fB\-\-html\-to\fR
.IP
Write the HTML report to .
.HP
\fB\-\-metrics\-to\fR
.IP
Write metrics to .
.HP
\fB\-\-mail\-to\fR
.IP
Send the report to using a 'sendmail' compatible mail transfer agent.
.HP
\fB\-\-mail\-from\fR
.IP
The mail sender . By default this is the current user@host
.HP
\fB\-\-no\-progress\fR
.IP
Suppress all status updates during processing. By default this is auto\-detected.
.HP
\fB\-h\fR, \fB\-\-help\fR
.IP
Print help (see a summary with '\-h')
.HP
\fB\-V\fR, \fB\-\-version\fR
.IP
Print version
.SS "Override repository options:"
.HP
\fB\-\-glob\-archives\fR
.IP
A list of space separated archive globs e.g. "etc\-* srv\-*" for archive names starting with etc\- or srv\-. (Default: "")
.HP
\fB\-\-check[=\fR]
.IP
Enables the execution of `borg check`. (Default: false)
.HP
\fB\-\-check\-options\fR
.IP
A list of space separated raw borg options supplied to the `borg check` command
.HP
\fB\-\-borg\-binary\fR
.IP
Path to a local 'borg' binary. (Default: borg)
.HP
\fB\-\-max\-age\-hours\fR
.IP
Threshold to warn, when the last backup is older than . (Default: 24)
.SH ENVIRONMENT
Environment variables are overwritten by the respective command line option.
.TP
BORGREPORT_ENV_DIR
Directory to look for *.env files containing BORG_* env vars for a repository. Each file name represents a repository name in the report.
.TP
BORGREPORT_ENV_INHERIT
Inherit BORG_* env vars for a single . This allows to run `borgreport` after `borg` while reusing the environment.
.TP
BORGREPORT_MAIL_TO
Send the report to using a 'sendmail' compatible mail transfer agent.
.TP
BORGREPORT_MAIL_FROM
The mail sender . By default this is the current user@host
.TP
BORGREPORT_NO_PROGRESS
Suppress all status updates during processing. By default this is auto\-detected.
.TP
BORGREPORT_TEXT_TO
Write the text report to instead of stdout.
.TP
BORGREPORT_HTML_TO
Write the HTML report to .
.TP
BORGREPORT_METRICS_TO
Write metrics to .
.SS "Repository Environment:"
.TP
!
You probably want to configure the following variables at repository level. Setting them globally will alter the default behavior for all repositories.
.TP
BORGREPORT_GLOB_ARCHIVES
A list of space separated archive globs e.g. "etc\-* srv\-*" for archive names starting with etc\- or srv\-. (Default: "")
.TP
BORGREPORT_CHECK
Enables the execution of `borg check`. (Default: false)
.TP
BORGREPORT_CHECK_OPTIONS
A list of space separated raw borg options supplied to the `borg check` command
.TP
BORGREPORT_BORG_BINARY
Path to a local 'borg' binary. (Default: borg)
.TP
BORGREPORT_MAX_AGE_HOURS
Threshold to warn, when the last backup is older than . (Default: 24)
.SH AUTHOR
Written by Philipp Micheel
.SH "REPORTING BUGS"
Report bugs to .
.SH COPYRIGHT
Copyright \(co 2024 Philipp Micheel
License GPLv3+: GNU GPL version 3 or later
.br
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.