ansible/roles/backup/defaults/main.yml
Salt 00fb2bb32e Work on a basic implementation of backups
Still need to set up good defaults and do host-based configuration tho
2020-12-24 09:06:20 -06:00

25 lines
939 B
YAML

# Which backup script to use. Configuration is somewhat unique to each script
backup_script: s3backup
# When to kick off backups using the systemd timer
backup_time: "*-*-* 02:00: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"
# 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!
backup_s3backup_list:
- /root
backup_s3backup_list_extra: []
# 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: ""
# Which bucket to upload the backup to
backup_s3backup_bucket: replaceme
# Credentials for the bucket
backup_s3backup_aws_access_key_id: REPLACEME
backup_s3backup_aws_secret_access_key: REPLACEME