1 # backup.sh configuration file; follows git-config(1) syntax.
3 # Where we keep backups.
4 # Note: You cannot set this per-filesystem, only per machine.
7 # List of exclude patterns. Relative to the script's directory!
8 # Note: You cannot set this per-filesystem, only per machine.
9 excludefile = conf/exclude
11 # What username to perform the backup as.
12 # Note: You cannot set this per-filesystem, only per machine.
15 # Number of full backups.
18 # Days between full backups.
21 # Force fixed full-backup date for a given machine or filesystem
22 # (e.g. "3" to always take backup of this machine the 3rd of the month).
23 # Leave blank to take full backups just whenever necessary.
26 # Days between full backups for machines with fixed full-backup date
27 # (in case the fixed day gets missed).
28 daysbetweenfullforfixed = 32
30 # The file is usually stored to disk with a simple cat > $TARFILE,
31 # but in some cases, like backing up to a remote and untrusted
32 # file system, it could be useful to replace it with e.g.
36 # If set, do a non-privileged backup (ie., assume we need to call
37 # “sudo /usr/local/sbin/output-encrypted-backup” to get our backup).
38 # Otherwise, assume root privileges.
41 # If set, use the given program to compress and decompress the backup
42 # (compressor must exist on the host to be backed up, and decompressor
43 # must exist on the backup host). compressor can be unset; if so,
44 # either pigz or gzip (autodetected) will be used. You can give flags
45 # (e.g. -9) if you wish.
47 # Not used for nonpriv (change output-encrypted-backup instead).
48 # The file will be called .tgz no matter what the compressor is.
50 decompressor = gzip -d
52 # Config for a given host
53 [pannekake.samfundet.no]
55 username = samfundetbackup
58 # Config for a given filesystem
59 [pannekake.samfundet.no.srv.chroot]