mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-386: Add backup wrapper and some fixes.
This commit is contained in:
13
roles/diy_backup/templates/run-backup.j2
Normal file
13
roles/diy_backup/templates/run-backup.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd {{ atl_diy_backup_repo }}
|
||||
|
||||
if [[ -f .venv/bin/activate ]]; then
|
||||
source .venv/bin/activate
|
||||
else
|
||||
virtualenv .venv
|
||||
source .venv/bin/activate
|
||||
pip install boto
|
||||
fi
|
||||
|
||||
./bitbucket.diy-backup.sh
|
||||
Reference in New Issue
Block a user