changeset 109 | 646e4b395cc8 |
parent 103 | 78a072bbf3c1 |
child 157 | 5e5c9e605142 |
108:f00f45a9512d | 109:646e4b395cc8 |
---|---|
22 cp -r $STATIC_DIR "$BACKUP_DIR/" |
22 cp -r $STATIC_DIR "$BACKUP_DIR/" |
23 |
23 |
24 tar -zc -f $BACKUP_TAR $BACKUP_DIR |
24 tar -zc -f $BACKUP_TAR $BACKUP_DIR |
25 aws s3 mb "s3://$BUCKET/" |
25 aws s3 mb "s3://$BUCKET/" |
26 aws s3 cp $BACKUP_TAR "s3://$BUCKET/" |
26 aws s3 cp $BACKUP_TAR "s3://$BUCKET/" |
27 |
|
28 rm $BACKUP_TAR |
|
29 rm -r $BACKUP_DIR |