-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhomecloud_backup.env
More file actions
32 lines (23 loc) · 1.23 KB
/
homecloud_backup.env
File metadata and controls
32 lines (23 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# IAM Role ARN (for assuming the backup role)
export AWS_ROLE_ARN="arn:aws:iam::<ACCOUNT_ID>:role/backup-role"
# Roles Anywhere Trust Anchor ARN (used to verify client certificates)
export AWS_TRUST_ANCHOR_ARN="arn:aws:rolesanywhere:<REGION>:<ACCOUNT_ID>:trust-anchor/<TRUST_ANCHOR_ID>"
# Client certificate path
export AWS_CERTIFICATE_PATH="/<PATH>/homecloud-client.crt"
# Client key path
export AWS_PRIVATE_KEY_PATH="/<PATH>/homecloud-client.key"
# Roles Anywhere Profile ARN (profile used for obtaining temporary credentials)
export AWS_ROLE_PROFILE_ARN="arn:aws:rolesanywhere:<REGION>:<ACCOUNT_ID>:profile/<PROFILE_ID>"
# Current working Region (AWS region for your operations)
export AWS_DEFAULT_REGION="<REGION>"
# Credentials file destination path (temporary file for storing AWS credentials)
export CREDENTIALS_PATH="/<PATH>/aws_credentials.json"
# Name of S3 bucket where backups will be saved onto
export BACKUP_BUCKET="<S3_BUCKET_NAME>"
# Path of the local directory containing data to be moved to S3
export BACKUP_DIR="/<PATH>"
# Email settings
export ALERTMAIL_CONN_STRING="smtps://smtp.gmail.com:465"
export ALERTMAIL_SENDER="<SENDER>@gmail.com"
export ALERTMAIL_RECIPIENT="<RECIPIENT>"
export ALERTMAIL_GMAIL_APP_PWD="<GMAIL_APP_PASSWORD>"