Author: dkuleshov
Date: 2010-12-30 06:00:19 -0500 (Thu, 30 Dec 2010)
New Revision: 3755
Modified:
jcr/branches/1.12.x/applications/exo.jcr.applications.backupconsole.dist/bin/exobackup.cmd
jcr/branches/1.12.x/applications/exo.jcr.applications.backupconsole.dist/bin/exobackup.sh
Log:
JCR-1499: little fix and help changes
Modified:
jcr/branches/1.12.x/applications/exo.jcr.applications.backupconsole.dist/bin/exobackup.cmd
===================================================================
---
jcr/branches/1.12.x/applications/exo.jcr.applications.backupconsole.dist/bin/exobackup.cmd 2010-12-30
09:31:54 UTC (rev 3754)
+++
jcr/branches/1.12.x/applications/exo.jcr.applications.backupconsole.dist/bin/exobackup.cmd 2010-12-30
11:00:19 UTC (rev 3755)
@@ -1,4 +1,7 @@
@echo off
+
+set auth=-b
+
if NOT "%1" == "-u" goto :help
shift
if "%1" == "" goto :help
@@ -15,7 +18,6 @@
shift
)
if "%1" == "-b" (
-set auth=%1
shift
)
set host=%1
@@ -50,10 +52,11 @@
goto :eof
:help
-echo -u ^<user^> -p ^<password^> ^<form_of_authentication^>
^<host:port^> ^<command^>
+echo -u ^<user^> -p ^<password^> [form_of_authentication]
^<host:port^> ^<command^>
echo.
-echo ^<form_of_authentication^> : -b - is used for basic
authentication
+echo [form_of_authentication] : -b - is used for basic authentication
echo -f - is used for form authentication
+echo if no authentication set basic
authentication is used
echo.
echo ^<command^> : start ^<repo[/ws]^>
^<backup_dir^> [^<incr^>]
echo stop ^<backup_id^>
Modified:
jcr/branches/1.12.x/applications/exo.jcr.applications.backupconsole.dist/bin/exobackup.sh
===================================================================
---
jcr/branches/1.12.x/applications/exo.jcr.applications.backupconsole.dist/bin/exobackup.sh 2010-12-30
09:31:54 UTC (rev 3754)
+++
jcr/branches/1.12.x/applications/exo.jcr.applications.backupconsole.dist/bin/exobackup.sh 2010-12-30
11:00:19 UTC (rev 3755)
@@ -4,11 +4,11 @@
if [ "$1" != "-u" ]
then
-echo " -u <user> -p <password> <form_of_authentication>
<host:port> <command> "
+echo " -u <user> -p <password> [form_of_authentication]
<host:port> <command> "
echo " "
-echo " <form_of_authentication> : -b - is used for basic
authentication "
+echo " [form_of_authentication] : -b - is used for basic authentication
"
echo " -f - is used for form authentication
"
-echo " "
+echo " if no authentication set basic
authentication is used"
echo " <command> : start <repo[/ws]>
<backup_dir> [<incr>] "
echo " stop <backup_id> "
echo " status <backup_id> "
Show replies by date