Bug 960760
Summary: | Unable to restore from 3.1 LogCollector DB backup file | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Eli Mesika <emesika> | ||||
Component: | ovirt-engine | Assignee: | Eli Mesika <emesika> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dušan Kajan <dkajan> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 3.2.0 | CC: | acathrow, bazulay, cpelland, iheim, jkt, lpeer, pstehlik, Rhev-m-bugs, yeylon, yzaslavs | ||||
Target Milestone: | --- | Keywords: | ZStream | ||||
Target Release: | 3.3.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | infra | ||||||
Fixed In Version: | is7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 973275 (view as bug list) | Environment: | |||||
Last Closed: | Type: | Bug | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 976337 | ||||||
Bug Blocks: | 973275 | ||||||
Attachments: |
|
Description
Eli Mesika
2013-05-07 21:33:27 UTC
Verified on is5: Created attachment 773571 [details]
Restore output
Checked on is5, Back to assign: In case that engine is the only database installed, the language plpgsql is removed with the database, and not installed again, by the restore script. This fail the restore, and also require to run engine-cleanup\engine-setup in order to connect to the rhevm via GUI. fixed in commit: e5acad1 everything seems to be fine, use this steps: [root@dk-rh33 ~]# service ovirt-engine stop [root@dk-rh33 ~]# pg_dump -F t -U postgres engine >backup.tar [root@dk-rh33 ~]# dropdb -U postgres engine [root@dk-rh33 ~]# createdb -U postgres engine [root@dk-rh33 ~]# pg_restore -d engine -U postgres backup.tar [root@dk-rh33 ~]# service ovirt-engine start database was restored correctly, althoug it gave me this warnings : pg_restore: WARNING: column "storage_pool_id" has type "unknown" DETAIL: Proceeding with relation creation anyway. pg_restore: WARNING: column "storage_pool_name" has type "unknown" DETAIL: Proceeding with relation creation anyway. setting as verified Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |