summaryrefslogtreecommitdiff
path: root/backup.sh
diff options
context:
space:
mode:
authorWu Cheng-Han2015-09-15 16:47:03 +0800
committerWu Cheng-Han2015-09-15 16:47:03 +0800
commit69538a26ade4317c4ae025d5ced868dde6a2dbcc (patch)
tree093b8c72f67fd94b254e8e58cd9e487c7ee513c2 /backup.sh
parent54e48d10ff9b3f685a06f5963db552bd778adb7a (diff)
Removed server deploy files, logs and backups directories.
Let user choose any daemon tools and paths as they like.
Diffstat (limited to 'backup.sh')
-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