59 lines
2.7 KiB
JSON
59 lines
2.7 KiB
JSON
{
|
|
/* Listen on other addresses is pointless. */
|
|
"address": "0.0.0.0",
|
|
|
|
/* By default listen on port 8086, like first intel commercially successful cpu model. */
|
|
"port": 8086,
|
|
|
|
/* Path location of certificate file, never use example from test_data! */
|
|
"cert": "path/to/certificate.crt",
|
|
|
|
/* Path location of certificate key, never use example from test_data! */
|
|
"key": "/path/to/certificate.key",
|
|
|
|
/* We really want to use https for backup archive tranferring. */
|
|
"nohttps": false,
|
|
|
|
/* Which location we should query by our client curl, for example. */
|
|
"location": "/archive",
|
|
|
|
/* User for basic auth. */
|
|
"user": "secret",
|
|
|
|
/* Password for basic auth. */
|
|
"password": "Hush-hush secret password",
|
|
|
|
/* Where to store logs. */
|
|
"log": "/var/log/backer.log",
|
|
|
|
/* Verbosity of logs. */
|
|
"loglevel": "info",
|
|
|
|
/* Backup streaming timeout in minutes. */
|
|
"backup_timeout": 60,
|
|
|
|
/* Gzip compression level (1-9, where 9 is best compression). */
|
|
"compression_level": 9,
|
|
|
|
/* Prefix for backup filename in Content-Disposition header. */
|
|
"filename_prefix": "backup",
|
|
|
|
/* Compression algorithm alias (deprecated: use default_compression). */
|
|
"compression_algorithm": "gzip",
|
|
|
|
/* Default compression algorithm: gzip, pgzip, bzip2, zstd, lz4 or xz. */
|
|
"default_compression": "gzip",
|
|
|
|
/* Regex patterns to exclude from backup. */
|
|
"exclude_patterns": [],
|
|
|
|
/* Maximum allowed time, spent for getting file list from backupped directories. */
|
|
"dir_scan_timeout": 60,
|
|
|
|
/* Directories to backup. */
|
|
"directories": [
|
|
"/path/to/directory1",
|
|
"/path/to/directory2"
|
|
]
|
|
}
|