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 > Backup database to disk then to tape

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-30-03, 02:15
mshafie2 mshafie2 is offline
Registered User
 
Join Date: Dec 2003
Location: Malaysia
Posts: 6
Backup database to disk then to tape

Hi,

I seek advice from the Informix Gurus in this forum.
System : HPUX11i
Informix :7.31

My ontape database (55GB) backup to tape took over 1:30hrs using DLT8000 and we need to reduce the timing with minimal $$$. The options raised are -
1. to backup to disk but restoration could be a problem
2. to add tape drive and use onbar
3. to use faster tape drive

Your advice is sought to which option is the best.

Thank in advance
Reply With Quote
  #2 (permalink)  
Old 12-30-03, 08:54
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Backup database to disk then to tape

Quote:
Originally posted by mshafie2
Hi,

I seek advice from the Informix Gurus in this forum.
System : HPUX11i
Informix :7.31

My ontape database (55GB) backup to tape took over 1:30hrs using DLT8000 and we need to reduce the timing with minimal $$$. The options raised are -
1. to backup to disk but restoration could be a problem
2. to add tape drive and use onbar
3. to use faster tape drive

Your advice is sought to which option is the best.

Thank in advance
Hi,

I suggest you that implemented onbar and test the traffic of network
and if posible migrate to IDS 9.4, this version reduced the times of back-ups immensely.

happy year 2004

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 12-30-03, 11:11
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
Re: Backup database to disk then to tape

If you want a zero dollars solution, try this:

Backup the database (ontape) to disk.
At the conclusion of the backup use an operating system utility to copy the backup file to tape.

Now you have both the disk copy of the backup for a speedy restore and a tape copy in case of total disk failure.

Many large sites (including Wells Fargo) use this approach for both backups and logs.

F.
__________________
Fred Prose
Reply With Quote
  #4 (permalink)  
Old 12-30-03, 20:04
mshafie2 mshafie2 is offline
Registered User
 
Join Date: Dec 2003
Location: Malaysia
Posts: 6
Re: Backup database to disk then to tape

Hi Gurey,
To upgrade to 9.4 would involve application changes and we are not ready due to other commitment. BTW, how much faster is the ontape in 9.4 compared to 7.3.

Hi Fprose,
Our ontape to tape took 1:40hrs
While ontape to disk took 1:15hrs, saving of only 20minutes.
and the fbackup from disk to tape took 2:00hrs.

We did not get much time savings to ontape to disk, only 20min,
Any suggestion to improve the speed ?

We are going to test the restoration (fbackup & ontape) this weekend.

Thank in advance
Reply With Quote
  #5 (permalink)  
Old 01-10-04, 00:33
mshafie2 mshafie2 is offline
Registered User
 
Join Date: Dec 2003
Location: Malaysia
Posts: 6
Unhappy

Our test to restore from disk failed.

Your reply is very much appreciated.
Reply With Quote
  #6 (permalink)  
Old 01-13-04, 23:58
DBAgirl DBAgirl is offline
Registered User
 
Join Date: Jan 2004
Location: San Antonio, Texas
Posts: 47
Talking Re: Backup database to disk then to tape

ONBar is much faster. Without spending any $$ I would change to onbar using ISM. Define the one tape drive and set onbar to run two threads. I have done much testing with onbar and this has worked for me each time. You might want to take a look at the onbar config file also.

Regards,
AC

Quote:
Originally posted by mshafie2
Hi,

I seek advice from the Informix Gurus in this forum.
System : HPUX11i
Informix :7.31

My ontape database (55GB) backup to tape took over 1:30hrs using DLT8000 and we need to reduce the timing with minimal $$$. The options raised are -
1. to backup to disk but restoration could be a problem
2. to add tape drive and use onbar
3. to use faster tape drive

Your advice is sought to which option is the best.

Thank in advance
Reply With Quote
  #7 (permalink)  
Old 01-15-04, 03:47
mshafie2 mshafie2 is offline
Registered User
 
Join Date: Dec 2003
Location: Malaysia
Posts: 6
Thanks for the suggestion but our DBA is not familiar with onbar.
Some assistance is very much appreciated
Reply With Quote
  #8 (permalink)  
Old 01-16-04, 18:23
DBAgirl DBAgirl is offline
Registered User
 
Join Date: Jan 2004
Location: San Antonio, Texas
Posts: 47
Cool

Oh Dear!

Well onbar works with this simple command obar -b for a full backup and onbar -l for llogs backup and onbar -b -F for a fake backup (there version of ontape to /dev/null). Do not do whole system backups.

All the work is up front. I will attempt to explain here but it is best that your DBA get this manual and look at it:
Backup and Restore Guide version 7.3

I have attached a file with everything.
Regards,
DBAgirl


Quote:
Originally posted by mshafie2
Thanks for the suggestion but our DBA is not familiar with onbar.
Some assistance is very much appreciated
Attached Files
File Type: txt onbar.txt (3.5 KB, 190 views)
Reply With Quote
  #9 (permalink)  
Old 01-17-04, 09:23
mshafie2 mshafie2 is offline
Registered User
 
Join Date: Dec 2003
Location: Malaysia
Posts: 6
Quote:
Originally posted by DBAgirl
Oh Dear!

Well onbar works with this simple command obar -b for a full backup and onbar -l for llogs backup and onbar -b -F for a fake backup (there version of ontape to /dev/null). Do not do whole system backups.

All the work is up front. I will attempt to explain here but it is best that your DBA get this manual and look at it:
Backup and Restore Guide version 7.3

I have attached a file with everything.
Regards,
DBAgirl
Reply With Quote
  #10 (permalink)  
Old 01-17-04, 09:28
mshafie2 mshafie2 is offline
Registered User
 
Join Date: Dec 2003
Location: Malaysia
Posts: 6
Hi,

Thank you very much for the assistance.

I will get the DBA to test, during available time.

Thanks again.

Regards.
Reply With Quote
  #11 (permalink)  
Old 01-17-04, 23:02
zzx806 zzx806 is offline
Registered User
 
Join Date: Dec 2003
Location: China,Fujian
Posts: 8
when i test on my machine, onbar does not work:
command : onbar -b -l 0

my machine env : informix database v7.30 uc2 work on SGI irix6.5

in my onconfig :
"BAR_BSALIB_PATH /usr/lib/libbssa.so" #XBSA shared lib path

1/ in /tmp/bar_act.log file a message as follow:

received signal 11.process **** exiting


2/ when i excute command: ism_add -admin informix@hostname

system error message "rpc error ,program not registered"


Thank in advance!
Reply With Quote
  #12 (permalink)  
Old 02-02-04, 22:41
zzx806 zzx806 is offline
Registered User
 
Join Date: Dec 2003
Location: China,Fujian
Posts: 8
about onbar test

when i test ism_check in machine ,

error message :
ˇ°Checking ISM 1.00.UB1.117 distribution in /usr/informix...
*** Checksum error on /usr/informix/lib/libbsa.so!ˇ±

my informix software date mark as "19980518"
i guess my informix edition is so early that i can not use onbar .



Thanks !
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