Yedidyah Bar David has uploaded a new change for review. Change subject: packaging: setup: drop tables on restore ......................................................................
packaging: setup: drop tables on restore Without this change, running 'engine-backup.sh --mode=restore' twice causes some lines to be duplicated in the database. Change-Id: I8bdd8c01349b3cb2a4b1ab79a048c09479c23f27 Signed-off-by: Yedidyah Bar David <[email protected]> --- M packaging/bin/engine-backup.sh 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/52/20352/1 diff --git a/packaging/bin/engine-backup.sh b/packaging/bin/engine-backup.sh index 5cfafa0..41a16dc 100755 --- a/packaging/bin/engine-backup.sh +++ b/packaging/bin/engine-backup.sh @@ -170,6 +170,7 @@ backupDB() { local file="$1" PGPASSFILE="${MYPGPASS}" pg_dump \ + -c \ -E "UTF8" \ --disable-dollar-quoting \ --disable-triggers \ -- To view, visit http://gerrit.ovirt.org/20352 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8bdd8c01349b3cb2a4b1ab79a048c09479c23f27 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
