Alon Bar-Lev has posted comments on this change. Change subject: core: Unable to restore from 3.1 LogCollector... ......................................................................
Patch Set 1: (1 inline comment) .................................................... File packaging/dbscripts/restore.sh Line 104: echo "Restore of database $DATABASE from $FILE started..." Line 105: if file "${FILE}" | grep 'tar'; then Line 106: createdb -h ${SERVERNAME} -p ${PORT} -U postgres ${DATABASE} Line 107: # Creating the plpgsql language Line 108: createlang --host=${SERVERNAME} --port=${PORT} --dbname=${DATABASE} --username=${USERNAME} plpgsql >& /dev/null oh! sorry... anyway I do not use the backup and restore you provide[1] as it assume privileged user. If the above is required we need to add it to the postgresql provisioning, right? just after creating empty database. I do not understand how it worked so far... without this... Do you want to provide backup/restore script that we can put at dbutils that will enable us to backup/restore database using non privileged user? [1] http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=packaging/setup/ovirt_engine_setup/database.py;hb=HEAD#l354 Line 109: restore_from_tar Line 110: else Line 111: psql -w -h ${SERVERNAME} -p ${PORT} -U ${USERNAME} -f ${FILE} Line 112: fi -- To view, visit http://gerrit.ovirt.org/16904 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I543679f87bc9fd0f26909db3889dee482dfada77 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches