diff options
| author | Luke Hoersten <[email protected]> | 2020-08-30 12:50:35 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2020-08-30 12:50:35 -0500 |
| commit | c9c617dd1efa1d86a7e6e37d8244bc2af0ea8c69 (patch) | |
| tree | 3dd82dd7993feb70428d985ffedf3f49c740030a | |
| parent | bd19a441463526b1c722a33bb713fbcfd9ae35a7 (diff) | |
Added cleanup to mercurial backup script.
| -rw-r--r-- | mercurial/aws-s3-backup/files/mercurial-s3-backup.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mercurial/aws-s3-backup/files/mercurial-s3-backup.sh b/mercurial/aws-s3-backup/files/mercurial-s3-backup.sh index b5ba305..c027d0a 100644 --- a/mercurial/aws-s3-backup/files/mercurial-s3-backup.sh +++ b/mercurial/aws-s3-backup/files/mercurial-s3-backup.sh @@ -8,3 +8,5 @@ BACKUP_TAR="/tmp/$BUCKET-$DATE.tgz" tar -zc -f $BACKUP_TAR $BACKUP_DIR aws s3 mb "s3://$BUCKET/" aws s3 cp $BACKUP_TAR "s3://$BUCKET/" + +rm $BACKUP_TAR |
