summaryrefslogtreecommitdiff
path: root/backup.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--backup.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/backup.sh b/backup.sh
deleted file mode 100644
index e7afc560..00000000
--- a/backup.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-path=./backups
-today=$(date +"%Y%m%d")
-timestamp=$(date +"%Y%m%d%H%M%S")
-mkdir -p $path/$today
-pg_dump hackmd > $path/$today/postgresql_$timestamp
-mongodump -d hackmd -o $path/$today/mongodb_$timestamp \ No newline at end of file