Save/Restore a Smart BLOB Space
Posted in 2014
Topics: Storage & Space Management
Hello to all, i have an application that use a database on a data dbspace, and some objects on a smart blob space. i want to save the applications data (dbspace + sbspace) restore it on another server the possibilities i have on the target server : - use the existing instance - Create a new instance with a dbspace and a sbpace how can i proceed ? thanks in advance
Create an external table SAME AS the table you want to export in both the source and target databases. Be sure to include a CLOBDIR or BLOBDIR entry as appropriate in the DATAFILES option to hold your LOBs. Use INSERT INTO <external table> SELECT * FROM <regular table>; then use tar or whatever to move the data file and files in the CLOBDIR/BLOBDIR to the corresponding locations on the target server and reverse the INSERT to read in the external table data into the permanent table. Art Art S. Kagel, Principal Consultant ASK Database Management Blog: http://informix-myview.blogspot.com/ Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Thu, Mar 6, 2014 at 10:23 AM, SMITH JOHN <daylight@webmails.com> wrote: > Hello to all, > > i have an application that use a database on a data dbspace, and some > objects > on a smart blob space. > i want to save the applications data (dbspace + sbspace) restore it on > another > server > > the possibilities i have on the target server : > > - use the existing instance > > - Create a new instance with a dbspace and a sbpace > > how can i proceed ? > > thanks in advance > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --001a11344a3e71eac004f3f239bd