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 to file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-23-04, 19:29
xor xor is offline
Registered User
 
Join Date: Jun 2003
Posts: 39
Informix backup to file

Hi,

Is there a way to automate the informix backup to file like putting a tbtape command in a sh script? what will be the syntax for tbtape to backup the database to file, had a look at the online doc's but nothing there! any one tried this on Informix Online 5.10.UC1.

xor
Reply With Quote
  #2 (permalink)  
Old 08-26-04, 09:14
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi

This is for Unix/Linux system. Please test following:

echo "\n0"|tbtape -s -L 0|head -100.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 08-26-04, 12:55
lgaxiola lgaxiola is offline
Registered User
 
Join Date: Aug 2004
Posts: 99
Hi,

that works for the first carraige return that ontape asks for, how about if you have a database that needs more than 1 tape (4 or 5). I'm sending my backup to disk, I'm using an older version of informix which can't read files bigger than 2 gigs so I have to find a way to create a script that will notice when ontape asks for the next tape, moves the file that was already created to another location and sends the carriage return so ontape can continue with the backup.

Any help will be GREATLY appreciated

Luis Torres
Reply With Quote
  #4 (permalink)  
Old 08-31-04, 14:37
stjacqd stjacqd is offline
Registered User
 
Join Date: Jul 2003
Location: Boisbriand, Qc, Canada
Posts: 25
Hello everyone

I do have the same problem.

Is anyone found a solution?
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