keeping track of our wiki backup script.
authorChris Koeritz <fred@gruntose.com>
Fri, 27 Jul 2012 18:39:51 +0000 (14:39 -0400)
committerChris Koeritz <fred@gruntose.com>
Fri, 27 Jul 2012 18:39:51 +0000 (14:39 -0400)
scripts/networking/backup_genesis_wiki.sh [new file with mode: 0644]

diff --git a/scripts/networking/backup_genesis_wiki.sh b/scripts/networking/backup_genesis_wiki.sh
new file mode 100644 (file)
index 0000000..d673042
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+date_string="$(date +"%Y_%b_%e_%H%M" | sed -e 's/ //g')"
+
+zip -r "$HOME/archives/genesis2_wiki_as_of_${date_string}" /web/genesis2.virginia.edu/doc/
+
+