1833691 Members
4016 Online
110062 Solutions
New Discussion

fbackup to DDS3

 
Chirag Parekh
Advisor

fbackup to DDS3

Hi,

I am trying to backup database files which approximates to 36Gb to a DDS3 tape. I tried using the fbackup in a script but it fails as it asks for another tape due to insufficient space on the tape. Is there anyway that I can compress the data to fit it onto the tape.

Thanks.
11 REPLIES 11
Pete Randall
Outstanding Contributor

Re: fbackup to DDS3

If you use the "BEST" device file, it will automatically choose the highest density/compression available for the device:

/dev/rmt/c6t0d0BEST, for example


Pete

Pete
RAC_1
Honored Contributor

Re: fbackup to DDS3

Are you using right device file??
How does you fbackup configuration file look like??

Anil
There is no substitute to HARDWORK
Patrick Wallek
Honored Contributor

Re: fbackup to DDS3

This entirely depends on your data. The "normal" assumption for DDS3 is 24GB compressed (assuming 2:1 compression) and 12 GB native.

If you data is very compressable it is possible to get 36GB on a single tape. If it is not very compressable, there's no way.

At this point, I'd say yours is the latter case.

Can you upgrade to a DDS4 tape drive? That *should* handle it.
Chirag Parekh
Advisor

Re: fbackup to DDS3

Hi RAC,

Below is the config file:

more fbackup_config
blocksperrecord 32
records 32
checkpointfreq 32
readerprocesses 2
maxretries 5
retrylimit 5000000
maxvoluses 100


Thanks.
Chirag Parekh
Advisor

Re: fbackup to DDS3

Hi Patrick,

The server in question is overseas and it is currenlty not possible to upgrade the DDS drive. The files is question are Oracle database files. Any idea on compressing them further before putting them on tape.

Thanks.
Chirag Parekh
Advisor

Re: fbackup to DDS3

Hi Pete,

I did a lssf /dev/rmt/* and used the device which had a BEST in the description. I am currently using /dve/rmt/0m.
Patrick Wallek
Honored Contributor

Re: fbackup to DDS3

We have an inhouse written backup script that does the following:

Puts the DB in backup mode and does

compress < /path/to/oracle/db/files > /backup/of/oracle/db/files.Z

for all data files. At the end it deals with all of the archive logs. We have a dedicated filesystem for these backups.

Now once the above is done, we know almost exactly how much tape will be requuired.

You could do something very similar and experiment between compress and gzip. You could even try 'gzip -9' which is slower but can compress a whole lot more efficiently than just 'gzip'. You can use the same syntax as above to redirect the input and output of gzip as well.

I would do this with the DB in backup mode or with the DB down completely. Otherwise your backup will be essentially useless.
Chirag Parekh
Advisor

Re: fbackup to DDS3

Hi Patrick,

I running the fbackup thru a shell script which brings the database down before the backup.

The DB is spread over multiple FS. Can I compress and write to the tape using fbackup single FS as a time w/o overwriting the previous FS for that day - meaning can I compress /u01 and write it to tape, then compress /u02 and write it to tape and so on ..... The reason being we do not have a spare storage disk to allocate to the server and as I said as the server is overseas we do not have a dedicated Unix guy over there. We do remote administration of the server.

Thanks.
Patrick Wallek
Honored Contributor

Re: fbackup to DDS3

No, fbackup will ALWAYS rewind the tape before it starts backing up. That's just the way it works. If you run fbackup twice on a single tape, you will only have your second backup.

Chirag Parekh
Advisor

Re: fbackup to DDS3

Hi Patrick,

I am using the below command to kick off the backup:

/usr/sam/lbin/br_backup DAT FULL Y /dev/rmt/0m /var/sam/graphJCAa08437 Y 1 N > /var/sam/SAM_br_msgs 2>&1

Is there any option that can be turned on that can help?

Thanks.
Hoang Chi Cong_1
Honored Contributor

Re: fbackup to DDS3

You can not backup 36 GB to a DDS3 tape even compressed. At least, you have got DDS4.
I think no compress tool available!

Regard,
HoangChiCong
Looking for a special chance.......