Work in progress
Installs and automatically configures s3cmd. Useful for use with other modules or classes that have backup functionality
- $aws_access_key_id
- $aws_secret_access_key
$aws_access_key_id="xxxx"
$aws_secret_access_key="xxxxx"
include s3cmd
cron { 'mysql_backup_s3':
command => "s3cmd sync --delete-removed --skip-existing /var/backup/mysql/ s3://${s3_bucket}/databases/",
user => 'root',
minute => 5,
hour => 2,
}