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 Backups getting too large to ftp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-05-04, 16:04
tinman70 tinman70 is offline
Registered User
 
Join Date: Nov 2003
Posts: 2
Question Informix Backups getting too large to ftp

Hi there,

We have a 9.21 Informix database that backup using ontape every night. The backup file is getting to be too large to ftp to our disaster recovery box, so we were looking into having the backup file broken into sections of a set size and transfer those over on parallel lines.
Does anyone know how to get Informix to not create one huge binary backup file, but rather a set of smaller binary files?

Thanks,
Reply With Quote
  #2 (permalink)  
Old 05-07-04, 15:09
tmullins tmullins is offline
Registered User
 
Join Date: Aug 2003
Posts: 68
you can do it, but it requires manually running the backup.

You have to set the TAPEDEV to a file (ex /bkupdir/dbname_lvl0 ) and set the TAPESIZE parameter to something smaller (ex 2048000 ) then using 2 open windows

in window 1
ontape -s -L 0

When the ontape window asks for tape 2 -

in window 2
mv /bkupdir/dbname_lvl0 /bkupdir/dbname_lvl0.tape1
touch /bkupdir/dbname_lvl0

Then press enter in window 1

Do this for each subsequent tapes, increasing the tape #, until the archive is complete, then gzip the tape files and ftp them.

All of this assumes you're on a Unix server
Reply With Quote
  #3 (permalink)  
Old 05-07-04, 15:45
tinman70 tinman70 is offline
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks

Thanks very much, never thought of going that route. Very ingenious!
Reply With Quote
  #4 (permalink)  
Old 05-12-04, 18:43
ServerMetrics ServerMetrics is offline
Registered User
 
Join Date: May 2004
Posts: 45
As an alternative you could also try creating a compression named pipe. This could dramatically reduce the time/file size for the backup. It will however send the cpu/s skyrocketing...
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