Public | Automated Build

Last pushed: 9 months ago
Short Description
This container creates a tar file of a linked directory, and uploads that file to an S3 bucket.
Full Description

COMPRESS_OVERRIDE

DECOMPRESS_OVERRIDE

BACKUP_PATH [REQUIRED]
S3_BUCKET [REQUIRED]
S3_PREFIX [OPTIONAL]

AWS_DEFAULT_REGION [REQUIRED]
AWS_ACCESS_KEY_ID [REQUIRED IF NOT USING EC2 ROLES]
AWS_SECRET_ACCESS_KEY [REQUIRED IF NOT USING EC2 ROLES]

AWS CLI Getting Started Guide

Interval Settings

BACKUP_PERIOD_DAYS 1
BACKUP_START_HOUR 0
BACKUP_RANDOM_START_RANGE_MINUTES 60

echo " S3_BUCKET=$S3_BUCKET"
echo " BACKUP_PATH=$BACKUP_PATH"
echo " AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION"
echo " TIMEZONE=$(date +%Z)"
echo " RANDOM_INTERVAL_MIN=$RANDOM_INTERVAL_MIN"
echo " BACKUP_PERIOD_HOURS=$BACKUP_PERIOD_HOURS"
echo " BACKUP_START_DAY=$BACKUP_START_DAY (Note: Not yet implemented)"
echo " BACKUP_START_HOUR=$BACKUP_START_HOUR"
echo

S3BACKUP CONFIGURATION:
S3_BUCKET=s3rkh
BACKUP_PATH=/my/path/
AWS_DEFAULT_REGION=us-west-2
TIMEZONE=PDT
RANDOM_INTERVAL_MIN=20
BACKUP_PERIOD_HOURS=2
BACKUP_START_DAY=0 (Note: Not yet implemented)
BACKUP_START_HOUR=0

Docker Pull Command
Owner
rkhtech
Source Repository