1752573 Members
4415 Online
108788 Solutions
New Discussion юеВ

Re: Please help asap

 
Janice_4
Occasional Contributor

Please help asap

Text from Enter your question text box:
Guys,Girls

I am new to Unix and I have had to
setup a temporary backup of my oracle
database using fbackup. I want to run
it as a cronjob which will probably use
4 x 2Gb tapes - how will I know when I
tape needs to be changed?

don't know
5 REPLIES 5
Vincent Farrugia
Honored Contributor

Re: Please help asap

You mean you have to span across tapes?
Tape Drives RULE!!!
Steve Steel
Honored Contributor

Re: Please help asap

 
If you want truly to understand something, try to change it. (Kurt Lewin)
G. Vrijhoeven
Honored Contributor

Re: Please help asap

Hi,

When you use cron, the backup script is started in the backgroud, eg. no user intervention requered. Changing the tapes is user intervention so it is not a good idea to start the job in the back ground in the first place. I would advise you to get a DDS 3 drive (12 GB).

Gideon
Vincent Farrugia
Honored Contributor

Re: Please help asap

Hi,

You didn't specify what you have. If you have a DDS autoloader, then you can do this without user intervention, echoing Vrijhoeven's comment. Else, update to DDS3 drive, it offers 12Gb native capacity.

HTH,
Vince
Tape Drives RULE!!!
Tim D Fulford
Honored Contributor

Re: Please help asap

Use DDS3 or 4!!!

cron logs all messages to mail or if you do (as I generally do)
0 * * * commds.sh >/dev/null 2>&1
it goes to /dev/null!!!

The only OTHER thing you might be able to do is to take a vxfs snapshot & back that up at your leisure, provided you use VxFS!!.

The only problem is:

1 - You can't use fbackup (it touches all the i-nodes), so you'll nee to use tar instead
2 - I'm not 100% sure how to do a snapshot and am currently experementing!!!

So all in all the above is as useful as "a handbrake in a canoe"!

Tim
-