Eli Mesika has uploaded a new change for review.

Change subject: core: fix db restore usage comment
......................................................................

core: fix db restore usage comment

If the restore.sh is invoked with a DB name that is different than the
name appearing in the backup file, restore will fail.

this patch only added this information to the script usage comments.

Change-Id: Ibe11f2684c72686d183323c96f73a86d6cf1f8ea
Signed-off-by: Eli Mesika <emes...@redhat.com>
---
M backend/manager/dbscripts/restore.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/32/9532/1

diff --git a/backend/manager/dbscripts/restore.sh 
b/backend/manager/dbscripts/restore.sh
index 07619cb..8bf524a 100755
--- a/backend/manager/dbscripts/restore.sh
+++ b/backend/manager/dbscripts/restore.sh
@@ -22,7 +22,7 @@
     printf "\t-s SERVERNAME - The database servername for the database (def. 
${SERVERNAME})\n"
     printf "\t-p PORT       - The database port for the database       (def. 
${PORT})\n"
     printf "\t-u USERNAME   - The username for the database.\n"
-    printf "\t-d DATABASE   - The database name\n"
+    printf "\t-d DATABASE   - The database name, this must match the db name 
recorded in the backup file.\n"
     printf "\t-f File       - Backup file name to restore from. ${FILE}\n"
     printf "\t-r            - Remove existing database with same name\n"
     printf "\t-h            - This help text.\n"


--
To view, visit http://gerrit.ovirt.org/9532
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe11f2684c72686d183323c96f73a86d6cf1f8ea
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to