Commit 71e9d0ff authored by David Nowell's avatar David Nowell
Browse files

Template S3 bucket

parent 18b16e2b
DATE=`date +%Y%m%d`
cd /etc/gitlab
tar -cf /tmp/gitback-config.${DATE}.tar .
aws s3 cp /tmp/gitback-config.${DATE}.tar s3://{{ s3_bucket }}
cd /etc/ssh/
tar -cf /tmp/gitback-sshkeys.${DATE}.tar ssh_host*
aws s3 cp /tmp/gitback-sshkeys.${HOST}.${DATE}.tar s3://{{ s3_bucket }}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment