Debian Codegraph @

debian/default

raw
1 #
2 # autopostgresqlbackup defaut configuration for Debian
3 #
4 #
5 # See: man autopostgresqlbackup
6 # or https://github.com/k0lter/autopostgresqlbackup/blob/master/Documentation.md
7 #
8
9 # Email ddress to send errors to. If empty errors are displayed on stdout.
10 MAILADDR="root"
11
12 # Send email to MAILADDR only if there are errors
13 REPORT_ERRORS_ONLY="yes"
14
15 # Only while using PostgreSQL DB Engine
16 SU_USERNAME="postgres"
17
18 # Username to access the Database server
19 USERNAME="postgres"
20
21 # PASSWORD
22 # create a file $HOME/.pgpass containing a line like this
23 # hostname:*:*:dbuser:dbpass
24 # replace hostname with the value of DBHOST and postgres with
25 # the value of USERNAME
26
27 # Host name (or IP address) of the Database server.
28 DBHOST="localhost"
29
30 # Port of Database server.
31 DBPORT=""
32
33 # List of database(s) names(s) to backup.
34 DBNAMES="all"
35
36 # List of databases to exclude
37 DBEXCLUDE=""
38
39 # Virtual database name used to dump global objects (users, roles, tablespaces)
40 GLOBALS_OBJECTS="postgres_globals"
41
42 # Backup directory
43 BACKUPDIR="/var/lib/autopostgresqlbackup"
44
45 # Include CREATE DATABASE statement
46 CREATE_DATABASE="yes"
47
48 # Which day do you want weekly backups?
49 DOWEEKLY=7
50
51 # Which day do you want monthly backups?
52 DOMONTHLY=1
53
54 # Backup retention count for daily backups.
55 BRDAILY=14
56
57 # Backup retention count for weekly backups.
58 BRWEEKLY=5
59
60 # Backup retention count for monthly backups.
61 BRMONTHLY=12
62
63 # Compression tool.
64 COMP="gzip"
65
66 # Compression tools options.
67 COMP_OPTS=
68
69 # Backup files extension
70 EXT="sql"
71
72 # Backup files permission
73 PERM=600
74
75 # Minimum size (in bytes) for a dump/file (compressed or not).
76 MIN_DUMP_SIZE=256
77
78 # Enable encryption (asymmetric) with GnuPG.
79 ENCRYPTION="no"
80
81 # Encryption public key (path to the key)
82 ENCRYPTION_PUBLIC_KEY=
83
84 # Suffix for encyrpted files
85 ENCRYPTION_SUFFIX=".enc"
86
87 # Command or script to execute before backups
88 #PREBACKUP=
89
90 # Command or script to execute after backups
91 #POSTBACKUP=