2020-12-24 09:06:20 -06:00
|
|
|
# Which backup script to use. Configuration is somewhat unique to each script
|
|
|
|
backup_script: s3backup
|
2022-05-23 01:48:13 -05:00
|
|
|
restore_script: s3restore
|
2020-12-24 09:06:20 -06:00
|
|
|
# When to kick off backups using the systemd timer
|
|
|
|
backup_time: "*-*-* 02:00:00"
|
2025-01-25 03:20:07 -06:00
|
|
|
# What variation should the systemd timer have?
|
|
|
|
# Default value of "5400" is 1h30min in seconds
|
|
|
|
backup_time_randomization: "5400"
|
2020-12-24 09:06:20 -06:00
|
|
|
# What format should the datestamps in the filenames of any backups be in?
|
|
|
|
# Defaults to YYYY-MM-DD-hhmm
|
|
|
|
# So January 5th, 2021 at 3:41PM would be 2021-01-05-1541
|
|
|
|
backup_dateformat: "%Y-%m-%d-%H%M"
|
|
|
|
|
2020-12-24 09:43:57 -06:00
|
|
|
# S3 configuration for scripts that use it
|
|
|
|
# Which bucket to upload the backup to
|
|
|
|
backup_s3_bucket: replaceme
|
|
|
|
# Credentials for the bucket
|
|
|
|
backup_s3_aws_access_key_id: REPLACEME
|
|
|
|
backup_s3_aws_secret_access_key: REPLACEME
|
2024-06-10 22:26:29 -05:00
|
|
|
# Changeme if you use a non-AWS S3-compatible object store (like Backblaze)
|
|
|
|
#backup_s3_aws_endpoint_url:
|
2020-12-24 09:43:57 -06:00
|
|
|
|
2020-12-24 09:06:20 -06:00
|
|
|
# List of files/directories to back up
|
|
|
|
# Note that tar is NOT instructed to recurse through symlinks
|
|
|
|
# If you want it to do that, end the path with a slash!
|
2025-01-19 13:15:03 -06:00
|
|
|
backup_s3backup_list:
|
2025-01-23 03:21:01 -06:00
|
|
|
- "/etc"
|
2025-01-19 13:15:03 -06:00
|
|
|
- "/home/{{ adminuser_name }}"
|
2020-12-24 09:06:20 -06:00
|
|
|
backup_s3backup_list_extra: []
|
2020-12-29 08:35:41 -06:00
|
|
|
# List of files/directories to --exclude
|
|
|
|
backup_s3backup_exclude_list: []
|
|
|
|
backup_s3backup_exclude_list_extra: []
|
2020-12-24 09:06:20 -06:00
|
|
|
# Arguments to pass to tar
|
|
|
|
# Note that passing f here is probably a bad idea
|
|
|
|
backup_s3backup_tar_args: cz
|
|
|
|
backup_s3backup_tar_args_extra: ""
|
2024-06-10 22:26:29 -05:00
|
|
|
# The backup URL to use for S3 copies
|