summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-12-25 12:49:23 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2017-12-25 12:49:23 +0100
commitf7bc29989b3850b1deffd9204dacd1bc0cb51eb2 (patch)
treeac7e774dfe4a64c234773e4cdffc1735e5ddc533
parent15a9f1abfc01f493d11a4a8fe8c0020822eb3afe (diff)
downloadwww-andreasbaumann-cc-f7bc29989b3850b1deffd9204dacd1bc0cb51eb2.tar.gz
www-andreasbaumann-cc-f7bc29989b3850b1deffd9204dacd1bc0cb51eb2.tar.bz2
added a backup sync script
-rw-r--r--README1
-rwxr-xr-xsync_backup.sh8
2 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index 3560ebe..4db6de6 100644
--- a/README
+++ b/README
@@ -2,3 +2,4 @@
action back in 2009)
- new_theme is based on https://github.com/Vimux/Mainroad.git
- overlay in query: https://github.com/gasparesganga/jquery-loading-overlay/releases/tag/v1.5.3
+- http://saimiri.io/2016/06/comments-in-hugo/ for comments
diff --git a/sync_backup.sh b/sync_backup.sh
new file mode 100755
index 0000000..c84494f
--- /dev/null
+++ b/sync_backup.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+rsync -e 'ssh -p 2223' -av \
+ --usermap=abaumann:http \
+ --groupmap=abaumann:http \
+ --delete-after \
+ --exclude '*~' \
+ public/. root@andreasbaumann.cc:/srv/http/www.andreasbaumann.cc/.