Version :2.55.27.0 professional
I’m would like to use pgsqldump to backup and restore an entire database. Here is a sample of the code I’m using
pgSqlDump.Mode = DumpMode.All
pgSqlDump.Backup()
Dim stream_d As StreamWriter = New StreamWriter(“c:\temp\backup4.sql”)
stream_d.WriteLine(pgSqlDump.DumpText)
stream_d.Close()
This method doesn’t re-create any schemes when restoring to a clean database
Am I missing something?
Thanks in advance