src.nth.io/

summaryrefslogtreecommitdiff
path: root/mercurial/files/mercurial-s3-backup.sh
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-06-29 18:38:49 -0500
committerLuke Hoersten <[email protected]>2020-06-29 18:38:49 -0500
commit993697be3753be25f3d05617c53d66c64b0e97b5 (patch)
tree41cb6f26f121f0659be66269110624bd21a3cf63 /mercurial/files/mercurial-s3-backup.sh
parentb4c42a383953a34d6ff8091caf6e6bd34776b0c6 (diff)
Added mercurial web hosting
Diffstat (limited to 'mercurial/files/mercurial-s3-backup.sh')
-rw-r--r--mercurial/files/mercurial-s3-backup.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/mercurial/files/mercurial-s3-backup.sh b/mercurial/files/mercurial-s3-backup.sh
deleted file mode 100644
index b5ba305..0000000
--- a/mercurial/files/mercurial-s3-backup.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-BUCKET=$1
-DATE=`date --iso-8601`
-BACKUP_DIR=$2
-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/"