If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > informix backup

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-16-04, 04:18
srbreddy srbreddy is offline
Registered User
 
Join Date: Feb 2004
Location: Malaysia
Posts: 2
Unhappy informix backup

Hi all

I am new to Informix backups. we have Informix and MSSQL running in our organization. and for a particular reason I was asked to take a backup of the table in informix to flat file and load/restore it in a different server ( MSSQL) for the first time, later-on I should take an Incremental backup of the informix( what ever changes done on that day) table to a flat file and load into the MSSQL table daily. Could anybody suggest me like how do I start as I don't have any idea and write me if you know the small bit of the code also.

My informix is running on SUN UNIX.
MSSQL is running on WINDOWS 2000

Thanks in advance
sri
Reply With Quote
  #2 (permalink)  
Old 02-16-04, 21:03
srbreddy srbreddy is offline
Registered User
 
Join Date: Feb 2004
Location: Malaysia
Posts: 2
Re: informix backup

Quote:
Originally posted by srbreddy
Hi all

I am new to Informix backups. we have Informix and MSSQL running in our organization. and for a particular reason I was asked to take a backup of the table in informix to flat file and load/restore it in a different server ( MSSQL) for the first time, later-on I should take an Incremental backup of the informix( what ever changes done on that day) table to a flat file and load into the MSSQL table daily. Could anybody suggest me like how do I start as I don't have any idea and write me if you know the small bit of the code also.

My informix is running on SUN UNIX.
MSSQL is running on WINDOWS 2000

Thanks in advance
sri

Hi
Any Idea/solution for this, may be who knows about the incremental backups

Cheers.
Reply With Quote
  #3 (permalink)  
Old 02-19-04, 09:20
zizou79 zizou79 is offline
Registered User
 
Join Date: Feb 2004
Location: Singapore
Posts: 3
Hello srbreddy,

I believe every default Informix installation comes with ON-BAR.

I'm not an expert on it but you should be able use it.

Here's a link to it:

Sorry not much help since i'm learning also ....

http://www-306.ibm.com/software/data.../6522-pdf.html
Reply With Quote
  #4 (permalink)  
Old 02-19-04, 13:17
WiccaChic WiccaChic is offline
Registered User
 
Join Date: Jan 2004
Posts: 71
No way to do that simply with unload. With a little work and if theres an incremental primary key or something on the table that you know you could do a column>x where x is the last record you saved the first time, then you could do a full unload in the morning and an incremental based on the last record you backed up early + 1.

Before the first save you do you could always select the table into a work table, then unload the work table but leave it in place. Then later in the day do an unload/select from the original table where the records are NOT in the work table - that would give you your incremental. This would still depend on the table structure and you ability to identify unique entities in it.

I have never used ONBAR and use only ONTAPE, but I know theres no facility to due an incremental save (level 1) for just one table. I think thats the real fight...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On