+# backup.sh configuration file; follows git-config(1) syntax.
+[defaults]
+ # Where we keep backups.
+ # Note: You cannot set this per-filesystem, only per machine.
+ storagedir = /backup
+
+ # List of exlude patterns. Relative to the script's directory!
+ # Note: You cannot set this per-filesystem, only per machine.
+ excludefile = conf/exclude
+
+ # What username to perform the backup as.
+ # Note: You cannot set this per-filesystem, only per machine.
+ username = root
+
+ # Number of full backups.
+ maxnumfull = 3
+
+ # Days between full backups.
+ daysbetweenfull = 30
+
+ # Force fixed full-backup date for a given machine or filesystem
+ # (e.g. "3" to always take backup of this machine the 3rd of the month).
+ # Leave blank to take full backups just whenever necessary.
+ fixedfullbackupday =
+
+ # Days between full backups for machines with fixed full-backup date
+ # (in case the fixed day gets missed).
+ daysbetweenfullforfixed = 32
+
+ # The file is usually stored to disk with a simple cat > $TARFILE,
+ # but in some cases, like backing up to a remote and untrusted
+ # file system, it could be useful to replace it with e.g.
+ # a GPG command line.
+ storageprogram = cat
+
+ # If set, do a non-privileged backup (ie., assume we need to call
+ # “sudo /usr/local/sbin/output-encrypted-backup” to get our backup).
+ # Otherwise, assume root privileges.
+ nonpriv =
+
+# Config for a given host
+[pannekake.samfundet.no]
+ maxnumfull = 2
+ username = samfundetbackup
+ nonpriv = true
+
+# Config for a given filesystem
+[pannekake.samfundet.no.srv.chroot]
+ maxnumfull = 1
+
+