# Constants to use in the configuration file. Within option values, # all occurrences of the constant name in curly braces will be # replaced with the constant value. For example, if you have a # constant named "app_name" with the value "myapp", then the string # "{app_name}" will be replaced with "myapp" in the configuration # file. # constants: # app_name: myapp # user: myuser # List of source directories and files to back up. Globs and tildes # are expanded. Do not backslash spaces in path names. source_directories: - /volume1/ActiveBackupforBusiness/ActiveBackupData repositories: - path: ssh://u123456@u123456.your-storagebox.de:23/./backups/nas2.example.local working_directory: /volume1/borgbackup/ # Passphrase to unlock the encryption key with. Only use on # repositories that were initialized with passphrase/repokey/keyfile # encryption. Quote the value if it contains punctuation, so it parses # correctly. And backslash any quote or backslash literals as well. # Defaults to not set. encryption_passphrase: "9jyjxxxxxxF9" # Command to use instead of "ssh". This can be used to specify ssh # options. Defaults to not set. ssh_command: ssh -i /volume1/borgbackup/id_synology # Path for Borg cache files. Defaults to # $borg_base_directory/.cache/borg borg_cache_directory: /volume1/borgbackup/.cache/borg/ # Number of weekly archives to keep. keep_weekly: 2 # List of one or more shell commands or scripts to execute before # creating a backup, run once per repository. before_backup: - echo Starting a backup. # List of one or more shell commands or scripts to execute before # pruning, run once per repository. before_prune: - echo Starting pruning. # List of one or more shell commands or scripts to execute after # creating a backup, run once per repository. after_backup: - echo Finished a backup. # List of one or more shell commands or scripts to execute after # compaction, run once per repository. # after_compact: # - echo Finished compaction. # List of one or more shell commands or scripts to execute after # pruning, run once per repository. after_prune: - echo Finished pruning.