This page has been moved to docs.fsfe.org with the rest of the sysadmin documentation.
location: source_directories: - ~ # add or redefine if this is requested one_file_system: true repositories: - <REPLACE_WITH_BORGBASE_HOST> exclude_patterns: - '*.pyc' - ~/*/.cache - ~/.cache exclude_caches: true exclude_if_present: .nobackup storage: compression: auto,zstd encryption_passphrase: <REPLACE_WITH_PASSWORD> archive_name_format: '{hostname}-{now}' retention: keep_daily: 7 keep_weekly: 4 keep_monthly: 12 keep_yearly: 2 prefix: '{hostname}-' consistency: checks: - disabled check_last: 3 prefix: '{hostname}-' hooks: # List of one or more shell commands or scripts to execute before creating a backup. before_backup: - echo "`date` - Starting backup" after_backup: - echo "`date` - Finished backup" on_error: - echo "`date` - ERROR during backup"