61 lines
2.5 KiB
YAML
61 lines
2.5 KiB
YAML
---
|
|
# Copyright (C) 2014-2019 Maciej Delmanowski <drybjed@gmail.com>
|
|
# Copyright (C) 2015-2019 DebOps <https://debops.org/>
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
# boxbackup backup mode - lazy / snapshot
|
|
# Currently only lazy mode is fully supported
|
|
boxbackup_mode: 'lazy'
|
|
|
|
# Encryption key size
|
|
boxbackup_encrypt_bits: 2048
|
|
|
|
# Housekeeping process interval in minutes
|
|
boxbackup_housekeeping: 15
|
|
|
|
# Disc set to use (currently only 0 supported)
|
|
boxbackup_discnum: 0
|
|
|
|
# The number of minutes between backup runs under normal conditions. To avoid
|
|
# cycles of load on the server, this time is randomly adjusted by a small
|
|
# percentage as the daemon runs.
|
|
boxbackup_interval: 60
|
|
|
|
# The minimum age of a file, in hours, that will be uploaded. Avoids
|
|
# repeated uploads of a file which is constantly being modified.
|
|
boxbackup_minimumfileage: 4
|
|
|
|
# If a file is modified repeated, it won't be uploaded immediately in case
|
|
# it's modified again, due to the MinimumFileAge specified above. However, it
|
|
# should be uploaded eventually even if it is being modified repeatedly. This
|
|
# is how long we should wait, in hours, after first noticing a change.
|
|
boxbackup_maxuploadwait: 24
|
|
|
|
# Files above this size (in bytes) are tracked, and if they are renamed they will simply be
|
|
# renamed on the server, rather than being uploaded again. (64k - 1)
|
|
boxbackup_filetrackingsizethreshold: 65535
|
|
|
|
# The daemon does "changes only" uploads for files above this size (in bytes).
|
|
# Files less than it are uploaded whole without this extra processing.
|
|
boxbackup_diffinguploadsizethreshold: 8192
|
|
|
|
# The limit on how much time is spent diffing files, in seconds. Most files
|
|
# shouldn't take very long, but if you have really big files you can use this
|
|
# to limit the time spent diffing them.
|
|
boxbackup_maximumdiffingtime: 120
|
|
|
|
# This specifies a program or script which is run just before each
|
|
# sync, and ideally the full path to the interpreter. It will be run as the
|
|
# same user bbackupd is running as, usually root.
|
|
#
|
|
# The script must output (print) either "now" or a number to STDOUT (and a
|
|
# terminating newline, no quotes).
|
|
#
|
|
# If the result was "now", then the sync will happen. If it's a number, then
|
|
# no backup will happen for that number of seconds (bbackupd will pause) and
|
|
# then the script will be run again.
|
|
#
|
|
# Use this to temporarily stop bbackupd from synchronising or connecting to the
|
|
# store. For example, you could use this on a laptop to only backup when on a
|
|
# specific network, or when it has a working Internet connection.
|
|
boxbackup_syncallowscript: False
|