Debian Codegraph @

docs/barman.conf

raw
1 ; Barman, Backup and Recovery Manager for PostgreSQL
2 ; http://www.pgbarman.org/ - http://www.enterprisedb.com/
3 ;
4 ; Main configuration file
5
6 [barman]
7 ; System user
8 barman_user = barman
9
10 ; Directory of configuration files. Place your sections in separate files with .conf extension
11 ; For example place the 'main' server section in /etc/barman.d/main.conf
12 configuration_files_directory = /etc/barman.d
13
14 ; Main directory
15 barman_home = /var/lib/barman
16
17 ; Locks directory - default: %(barman_home)s
18 ;barman_lock_directory = /var/run/barman
19
20 ; Log location
21 log_file = /var/log/barman/barman.log
22
23 ; Log level (see https://docs.python.org/3/library/logging.html#levels)
24 log_level = INFO
25
26 ; Default compression level: possible values are None (default), bzip2, gzip, pigz, pygzip or pybzip2
27 ;compression = gzip
28
29 ; Pre/post backup hook scripts
30 ;pre_backup_script = env | grep ^BARMAN
31 ;pre_backup_retry_script = env | grep ^BARMAN
32 ;post_backup_retry_script = env | grep ^BARMAN
33 ;post_backup_script = env | grep ^BARMAN
34
35 ; Pre/post archive hook scripts
36 ;pre_archive_script = env | grep ^BARMAN
37 ;pre_archive_retry_script = env | grep ^BARMAN
38 ;post_archive_retry_script = env | grep ^BARMAN
39 ;post_archive_script = env | grep ^BARMAN
40
41 ; Pre/post delete scripts
42 ;pre_delete_script = env | grep ^BARMAN
43 ;pre_delete_retry_script = env | grep ^BARMAN
44 ;post_delete_retry_script = env | grep ^BARMAN
45 ;post_delete_script = env | grep ^BARMAN
46
47 ; Pre/post wal delete scripts
48 ;pre_wal_delete_script = env | grep ^BARMAN
49 ;pre_wal_delete_retry_script = env | grep ^BARMAN
50 ;post_wal_delete_retry_script = env | grep ^BARMAN
51 ;post_wal_delete_script = env | grep ^BARMAN
52
53 ; Global bandwidth limit in kilobytes per second - default 0 (meaning no limit)
54 ;bandwidth_limit = 4000
55
56 ; Number of parallel jobs for backup and recovery via rsync (default 1)
57 ;parallel_jobs = 1
58
59 ; Immediate checkpoint for backup command - default false
60 ;immediate_checkpoint = false
61
62 ; Enable network compression for data transfers - default false
63 ;network_compression = false
64
65 ; Number of retries of data copy during base backup after an error - default 0
66 ;basebackup_retry_times = 0
67
68 ; Number of seconds of wait after a failed copy, before retrying - default 30
69 ;basebackup_retry_sleep = 30
70
71 ; Maximum execution time, in seconds, per server
72 ; for a barman check command - default 30
73 ;check_timeout = 30
74
75 ; Time frame that must contain the latest backup date.
76 ; If the latest backup is older than the time frame, barman check
77 ; command will report an error to the user.
78 ; If empty, the latest backup is always considered valid.
79 ; Syntax for this option is: "i (DAYS | WEEKS | MONTHS | HOURS)" where i is an
80 ; integer > 0 which identifies the number of days | weeks | months of
81 ; validity of the latest backup for this check. Also known as 'smelly backup'.
82 ;last_backup_maximum_age =
83
84 ; Time frame that must contain the latest WAL file
85 ; If the latest WAL file is older than the time frame, barman check
86 ; command will report an error to the user.
87 ; Syntax for this option is: "i (DAYS | WEEKS | MONTHS | HOURS)" where i is an
88 ; integer > 0
89 ;last_wal_maximum_age =
90
91 ; Minimum number of required backups (redundancy)
92 ;minimum_redundancy = 1
93
94 ; Global retention policy (REDUNDANCY or RECOVERY WINDOW)
95 ; Examples of retention policies
96 ; Retention policy (disabled, default)
97 ;retention_policy =
98 ; Retention policy (based on redundancy)
99 ;retention_policy = REDUNDANCY 2
100 ; Retention policy (based on recovery window)
101 ;retention_policy = RECOVERY WINDOW OF 4 WEEKS