From: | Andreas Kretschmer <akretschmer(at)spamfence(dot)net> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Backing Up |
Date: | 2006-02-04 21:20:54 |
Message-ID: | 20060204212053.GC23797@KanotixBox |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
James Dey <james(at)mygus(dot)com> schrieb:
> The problem is, when I restore my DB I get a lot of parser errors on the
> sequences and things like ERROR: Relation "taxname_id_seq" does not exist
> ERROR: Relation "taxdata_id_seq" does not exist
> ERROR: Relation "taxlink_id_seq" does not exist
>
> This is on 7.3 red hat edition, restored from 7.3 normal edition.
7.3 is out of lifetime and has few errors, including errors with wrong
order of objects in backup-dumps.
You can try to list the objects in the dump with -l and manually reorder
this list and use pg_restore with -L new_list to solve the problem.
Read the man-page 'man pg_restore' and search for -l, -L now.
And, of course, upgrade your system!
HTH, Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknow)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2006-02-04 22:00:07 | Re: put text list into table form |
Previous Message | Andreas Kretschmer | 2006-02-04 21:13:25 | Re: Select date & time |