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 in CentOS linux

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-09, 06:22
Felix M Mutale Felix M Mutale is offline
Registered User
 
Join Date: Sep 2006
Posts: 17
Informix BackUp in CentOS linux

Hello All,

Can anyone please help me with the syntax for backing up informix data files on to tape ? How can this be included in a script to run every mid night ?

Thanks in advance.


Felix Mwango Mutale
Reply With Quote
  #2 (permalink)  
Old 07-02-09, 10:31
bigcalm bigcalm is offline
Registered User
 
Join Date: Jul 2009
Posts: 37
The basic syntax for backing up informix is

ontape -s -L0 <tape device>

So if your tape device is /dev/rmt0, your command will be

ontape -s -L0 /dev/rmt0

----
If you want it to run a backup every night, use unix crontab to set a specific time to run the command above.
----
Reply With Quote
  #3 (permalink)  
Old 07-02-09, 10:45
Felix M Mutale Felix M Mutale is offline
Registered User
 
Join Date: Sep 2006
Posts: 17
Hello BigCalm,

Thanks for the reply. This is great.

Felix
Reply With Quote
Reply

Thread Tools
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