Eli Mesika has posted comments on this change. Change subject: core: fixing restore.sh help syntax. ......................................................................
Patch Set 1: (1 comment) .................................................... File packaging/dbscripts/restore.sh Line 25: -h - This help text. Line 26: for more options please run pg_restore --help Line 27: The recommended way for restoring your database is. Line 28: 1) Backup current database with backup.sh. Line 29: 2) Drop existing from root user by : su - postgres -c "psql -d template1 -c 'drop database engine;'" Done Yes, after it is fully functional and checked Line 30: 3) Create a new blank db with the same name by: su - postgres -c "psql -d template1 -c 'create database engine owner engine;'" Line 31: 4) Run restore.sh and give new database instance name as the target. Line 32: __EOF__ Line 33: popd > /dev/null -- To view, visit http://gerrit.ovirt.org/21591 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ic19dae61d01fdf679aaee9b869caef2eef7e92cd Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <[email protected]> Gerrit-Reviewer: Alon Bar-Lev <[email protected]> Gerrit-Reviewer: Eli Mesika <[email protected]> Gerrit-Reviewer: Martin Peřina <[email protected]> Gerrit-Reviewer: Omer Frenkel <[email protected]> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
