Issues using pgSQLDump
-
- Posts: 30
- Joined: Sat 10 Nov 2007 20:36
OK, I'm nearly there. The only way around my issues was to create a database manually, and then first drop the schema which is automatically created when you create a database before restoring the backup. This works perfectly except for one thing. There are no views. Surely the backup should include views in it?? If it doesn't and the database becomes corrupt, where do you get the views from? I've tried adding my views to the .Tables property of pgsqldump but of course it then creates them as tables rather than views!
Help......again.
Help......again.
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24
I just wanted to say that I too need this functionality ASAP. I am just in the middle of implementing Backup/Restore feature in my application and I need to be able to dump an ENTIRE database and then restore an entire database.
I actually upgraded to the Professional version of the CoreLab's PGSQL provider exactly because I needed the backup/restore (which wasn't available in your Standard version).
Please can you tell me how long it will take to implement this as it's a pretty urgent requirement for me? Many thanks.
I actually upgraded to the Professional version of the CoreLab's PGSQL provider exactly because I needed the backup/restore (which wasn't available in your Standard version).
Please can you tell me how long it will take to implement this as it's a pretty urgent requirement for me? Many thanks.
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24
-
- Posts: 30
- Joined: Sat 10 Nov 2007 20:36
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24
-
- Posts: 30
- Joined: Sat 10 Nov 2007 20:36
Alexey
Something really needs to be done about the backup. We finally forced your backup to work (so we thought) by simply using it to backup the data only, then when we need to restore the data, we recreate the database and import the data. However to our horror we have found that even that doesn't work. We needed to get the data from one our customers and got them to do a backup. When we tried restoring it, it died with INSERT is trying to insert too many columns, or column boolean does not match column integer as well as other errors. We tested this against other customer databases and found that on virtually ALL large databases, the backup failed in different places with different errors and on different tables every time (probably related to carriage returns etc in the data). We are therefore in the precarious condition of having our customers thinking they have safe backups, but actually they have nothing useful which is completely disasterous.
Please can you do something with this as backup of the structure and data in a database is a fairly fundamental requirement.
Regards
Lee Ottaway
Fusion Software (UK) Ltd
Something really needs to be done about the backup. We finally forced your backup to work (so we thought) by simply using it to backup the data only, then when we need to restore the data, we recreate the database and import the data. However to our horror we have found that even that doesn't work. We needed to get the data from one our customers and got them to do a backup. When we tried restoring it, it died with INSERT is trying to insert too many columns, or column boolean does not match column integer as well as other errors. We tested this against other customer databases and found that on virtually ALL large databases, the backup failed in different places with different errors and on different tables every time (probably related to carriage returns etc in the data). We are therefore in the precarious condition of having our customers thinking they have safe backups, but actually they have nothing useful which is completely disasterous.
Please can you do something with this as backup of the structure and data in a database is a fairly fundamental requirement.
Regards
Lee Ottaway
Fusion Software (UK) Ltd
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24