pleroma/aws-s3-backup/files/pleroma-s3-backup.sh
changeset 109 646e4b395cc8
parent 103 78a072bbf3c1
child 157 5e5c9e605142
--- a/pleroma/aws-s3-backup/files/pleroma-s3-backup.sh	Wed Jul 01 15:47:58 2020 -0500
+++ b/pleroma/aws-s3-backup/files/pleroma-s3-backup.sh	Wed Jul 01 18:52:57 2020 -0500
@@ -24,3 +24,6 @@
 tar -zc -f $BACKUP_TAR $BACKUP_DIR
 aws s3 mb "s3://$BUCKET/"
 aws s3 cp $BACKUP_TAR "s3://$BUCKET/"
+
+rm $BACKUP_TAR
+rm -r $BACKUP_DIR