Update database backup script to connect to fritz
[clinton/scripts.git] / backup-manager
index 4ee17e2..c362af8 100755 (executable)
@@ -94,6 +94,7 @@ function usage() {
     echo "Usage: backup-manager [get|list|quota] [args...]"
     echo "Commands:"
     echo "  get DATE FILE    Fetch a file into $RESTORE_LOC"
     echo "Usage: backup-manager [get|list|quota] [args...]"
     echo "Commands:"
     echo "  get DATE FILE    Fetch a file into $RESTORE_LOC"
+    echo "  help             Display this message"
     echo "  list [DATE]      List dates available, or files with given date"
     echo "  quota            Display info about the quota"
     echo "  restore DATE FILE VOLUME-NAME"
     echo "  list [DATE]      List dates available, or files with given date"
     echo "  quota            Display info about the quota"
     echo "  restore DATE FILE VOLUME-NAME"
@@ -115,6 +116,7 @@ cmd=$1
 shift
 case $cmd in
     get)     get $@     ;;
 shift
 case $cmd in
     get)     get $@     ;;
+    help)    usage      ;;
     list)    list $@    ;;
     quota)   quota $@   ;;
     restore) restore $@ ;;
     list)    list $@    ;;
     quota)   quota $@   ;;
     restore) restore $@ ;;