Skip navigation.
Home
Freeware and Free & Open Source Software for Proprietary OSes

Reply to comment

What do you mean "would not

What do you mean "would not restore"? The "--clean" option is for removing pre-existing data in the database, so if you're restoring into an empty database it makes sense that you'd get errors like "_________ doesn't exist", but that doesn't mean your data wasn't restored. What actual errors are you getting?

I agree that dump/reload is not an ideal solution. There has been some significant effort toward in-place upgrades, and I think it's a possibility in the near future. In the meantime, you have to use something like Slony if you have a lot of data (and that's not an easy process either).

Why did you have to create each database again? That's the point of pg_dumpall. pg_dumpall will recreate all your databases, users, and everything else, while pg_dump is the one that only dumps a single database. Again, without more information it's hard to figure out what went wrong (if anything).

Also, post things like this to pgsql-general. You will no doubt get all your problems resolved very quickly, and it may lead to better documentation so that other users don't have similar problems.

Reply

The content of this field is kept private and will not be shown publicly.