Initiating the pgsqlDump table list prior to backup
Posted: Mon 17 May 2010 11:37
I have just started looking at the PgSqlDump class to use for backup.
My first attempt works. whey hey!!!
On one of my db's I have around 300 tables. I am looking to backup the data of all except one.
My thought was, rather than looping around all the table names and adding them to the Tables collection of the object I would initiate the object and remove the one table name.
The hover over help for the collection says that it "Gets and Sets" the tables.
Is there a way to tell it to "Get" all the tables prior to calling the Backup method?
If not should I lookup another Devart class to help me?
Kerry
My first attempt works. whey hey!!!
On one of my db's I have around 300 tables. I am looking to backup the data of all except one.
My thought was, rather than looping around all the table names and adding them to the Tables collection of the object I would initiate the object and remove the one table name.
The hover over help for the collection says that it "Gets and Sets" the tables.
Is there a way to tell it to "Get" all the tables prior to calling the Backup method?
If not should I lookup another Devart class to help me?
Kerry