Page 1 of 1

Is it possible to do a full backup and restore of the database?

Posted: Mon 25 Jan 2016 09:36
by Wodzu
Hi guys,

I am evaluating TpgDump component and I would like to know is it possible to do a full backup and restore of the database.

I've found this old topic: http://forums.devart.com/viewtopic.php? ... it=restore
But I am not sure is it possible to do this or not. My database is not complex.
After trying a TpgDump.BackupToFile I see that in the created file there is no instructions for creating a database. So it would suggest that there is no such possibility, is that correct?

Best regards.

Re: Is it possible to do a full backup and restore of the database?

Posted: Tue 26 Jan 2016 09:03
by AlexP
Hello,

In order to add a create database instruction to the backup script, you should enable the doDatabase option: https://www.devart.com/pgdac/docs/?deva ... object.htm .