Dump / Restore DB

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
azis
Posts: 6
Joined: Mon 28 Feb 2011 05:26

Dump / Restore DB

Post by azis » Mon 14 Mar 2011 10:03

How To Dump or Restore Oracle DB With ODAC, i'am using ODAC Triall.
In Mydac using Component TADUMP



Thank's

Azis

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Mon 14 Mar 2011 10:38

Hello,

Unfortunately, ODAC doesn't have any components to backup or restore databases.

In ODAC you can save data into XML file by using the SaveToXML method of TOraQuery. Then you can load data into TVirtualTable using its LoadFromFile method. Then you can copy data to a table in the database using the LoadFromDataSet method of TOraLoader or the TCRBatchMove component.

You can also move data directly from one table to another using the TCRBatchMove component.

Post Reply