# Borgbackup Configuration File

# --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- #

# Run Borgbackup every 6 hours.
#
TIMER='false'

# Set the repository location.
#
BORG_REPO=''

# --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- #

# Select compression algorithm.
#   none         -  No Compression
#   lz4          -  Low Compression
#   auto,lz4     -  Low Compression of compressible data
#   zlib         -  High Compression
#   auto,zlib    -  High Compression of compressible data
#   lzma,N       -  Very High Compression
#   auto,lzma,N  -  Very High Compression of compressible data
#
BORG_COMPRESSION='auto,zlib'

# --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- #

# Keep all archives within this time interval.
#
BORG_PRUNE_WITHIN='1d'

# Keep number of daily archives.
#
BORG_PRUNE_DAILY='7'

# Keep number of weekly archives.
#
BORG_PRUNE_WEEKLY='4'

# Keep number of monthly archives.
#
BORG_PRUNE_MONTHLY='3'

# --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- #

# A numeric value, this determines the maximum "time to live" for the
# files cache entries.
#
BORG_FILES_CACHE_TTL='7'

# When set, system information (like OS, Python version, …) in exceptions
# is shown.
#
BORG_SHOW_SYSINFO='no'

# A list of comma separated strings that trigger workarounds in borg, e.g.
# to work around bugs in other software.
#
#   basesyncfile          -  Use the more simple BaseSyncFile code to
#                            avoid issues with sync_file_range. You might
#                            need this to run borg on WSL (Windows
#                            Subsystem for Linux) or in systemd.nspawn
#                            containers on some architectures (e.g. ARM).
#                            Using this does not affect data safety, but
#                            might result in a more bursty write to disk
#                            behaviour (not continuously
#                            streaming to disk).
#
#   retry_erofs           -  Retry opening a file without O_NOATIME if
#                            opening a file with O_NOATIME caused EROFS.
#                            You will need this to make archives from
#                            volume shadow copies in WSL1
#                            (Windows Subsystem for Linux 1).
#
#   authenticated_no_key  -  Work around a lost passphrase or key for an
#                            authenticated mode repository (these are only
#                            authenticated, but not encrypted). If the key
#                            is missing in the repository config, add
#                            key = anything there.
#
BORG_WORKAROUNDS=''
