Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
# Controls whether config backups are taken regularly
backups['config_backup'] = false

# Controls whether database backups are taken regularly
backups['database_backup'] = false

# Where to store backups locally
backups['local_backup_path'] = "/var/opt/packagecloud/backups"

# Where to store backups on S3
backups['remote_backup_path'] = "backups"

# Controls whether we should upload backups to S3
backups['s3_upload'] = true

# How many backups to keep around
backups['keep_num'] = 10

# How often to take automatic backups, in seconds
backups['frequency'] = 86400 # 24 hours

# S3 Credentials
backups['aws_access_key'] = "XXXXXXXXXXXXX"
backups['aws_secret_key'] = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

# Controls whether we should try to create the bucket before upload
backups['aws_create_bucket'] = true

# Name of S3 bucket to place backups
backups['aws_bucket_name'] = "packagecloud-backups-023f"

# S3 Region to use
backups['aws_region'] = "us-west-2"

####
#### These settings were added in v2.0.5
####

# Whether to use percona's xbstream format, uses slightly more disk space, but allows parallel compression/decompression
backups['use_xbstream'] = true

# How many threads to use for compression/decompression (only used if use_xbstream is true)
backups['backup_threads'] = 1

...