]> git.sesse.net Git - backup.sh/blobdiff - conf/backup.config.example
Support changing compressors (e.g. to get zstd or xz).
[backup.sh] / conf / backup.config.example
index 254092d13f202cb79a4a3cf0f738ecba5d86f58b..0324ae7135a83894e16ff1f345f356e8db772948 100644 (file)
        # Otherwise, assume root privileges.
        nonpriv =
 
+       # If set, use the given program to compress and decompress the backup
+       # (compressor must exist on the host to be backed up, and decompressor
+       # must exist on the backup host). compressor can be unset; if so,
+       # either pigz or gzip (autodetected) will be used. You can give flags
+       # (e.g. -9) if you wish.
+       #
+       # Not used for nonpriv (change output-encrypted-backup instead).
+       # The file will be called .tgz no matter what the compressor is.
+       compressor =
+       decompressor = gzip -d
+
 # Config for a given host
 [pannekake.samfundet.no]
        maxnumfull = 2