Visit Our UNIX and Linux User Community


How to monitor dump backup


 
Thread Tools Search this Thread
Operating Systems Solaris How to monitor dump backup
# 1  
Old 03-25-2009
How to monitor dump backup

I need to monitor our nightly backups and find a way to send an email out if the nightly backup does not kick off or fails.

Thanks for your help!
# 2  
Old 03-25-2009
Maybe you could add a bit of shell code to your backup scripts, assuming that you are using a script for backups?

How are you doing "the deed"?
# 3  
Old 03-25-2009
It is automated and scheduled through a custom DBA menu.
# 4  
Old 03-25-2009
You'll have to be a lot more talkative if you want someone to be able to help.

So far we know you have some kind of nightly backups. They appear to be controlled by a custom script that someone (who?) wrote specifically (?) for your site. Since you call it a menu, it must be some sort of web page or gui thing, and DBA implies it is dumping some kind of database. Don't know what kind, what OS, etc. Flesh that out a bit for us, and let us know something about the script, who wrote it, and how it works. Then maybe someone can offer something more useful than just, "whoever wrote the script needs to include some reporting via email in it."
# 5  
Old 03-26-2009
Are you using a normal unix backup using ufsdump or something like that?
If yes, you can incorporate a portion to check for the PID/files for sucessful backup if not to send out an email. Yes, it can be done. So what's your needs now?
# 6  
Old 03-26-2009
Quote:
Originally Posted by choogendyk
You'll have to be a lot more talkative if you want someone to be able to help.

So far we know you have some kind of nightly backups. They appear to be controlled by a custom script that someone (who?) wrote specifically (?) for your site. Since you call it a menu, it must be some sort of web page or gui thing, and DBA implies it is dumping some kind of database. Don't know what kind, what OS, etc. Flesh that out a bit for us, and let us know something about the script, who wrote it, and how it works. Then maybe someone can offer something more useful than just, "whoever wrote the script needs to include some reporting via email in it."
Fair enough, We are using Oracle based GERS Retail Systems (Now called Escalate Retail). We are using Oracle 9i on a Sun 4800 running Solaris
SunOS 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Fire. The nightly backup is a dump of the Oracle database and is setup to run via cron.

Configuration file:
/dev/rmt/0un
300000
00:01:00
01:01:00
verify

Root file entry in crontabs

30 01 * * 1-6 /gers/live/admin/process_alert

process_alert info
/usr/bin/prstat -s time 1 1 | /bin/mailx -s "Process Alert Status" user@domain.com
# 7  
Old 03-28-2009
Seems like you've stumped everyone.

So, GERS is a retail system built on Oracle. The script you are talking about called "process_alert" is just an attempt to see if the backup process is still running? Oracle does, and GERS should, have significant backup and reporting capabilities built in. Do you have any documentation or man pages you can turn to? You should be using something more directly derived from Oracle's capabilities rather than trying to roll a script in Solaris utilities. Or, at least, you should know how Oracle backups are configured and how to get them to send email alerts.

Previous Thread | Next Thread
Test Your Knowledge in Computers #582
Difficulty: Medium
A buffered input or output stream is one in which data that is read or written is actually stored in memory in a buffer until such a time as the buffer is flushed and the accumulated data is passed to or from the actual file.
True or False?

8 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

Searching for Saas Monitor service which monitor my servers which are sitting in different providers

Sorry if this is the wrong forum Searching for Saas Monitor service which monitor my servers which are sitting in different providers . This monitor tool will take as less CPU as possible , and will send info about the server to main Dashboard. The info I need is CPU / RAM / my servers status (... (1 Reply)
Discussion started by: umen
1 Replies

2. Hardware

Fedora 16 dual monitor - dual head - automatic monitor shutdown

Hi, I am experiencing troubles with dual monitors in fedora 16. During boot time both monitors are working, but when system starts one monitor automatically shut down. It happend out of the blue. Some time before when I updated system this happend but then I booted older kernel release and... (0 Replies)
Discussion started by: wakatana
0 Replies

3. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

4. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

5. Filesystems, Disks and Memory

dump and tar backup in one tape

Hi all! I'm new in this forum. I need to ask a few question. I would like to know if it is possible to use dump and tar command for backup in one tape. If it is possible, how do I restore it back? Fyi, I'm using the Digital Unix 4.0E OSF/1 box. (old box) :-) Thank you. :) (0 Replies)
Discussion started by: apokobondo
0 Replies

6. UNIX for Advanced & Expert Users

dump and tar backup in one tape

Hi all! I'm new in this forum. I need to ask a few question. I would like to know if it is possible to use dump and tar command for backup in one tape. If it is possible, how do I restore it back? Fyi, I'm using the Digital Unix 4.0E OSF/1 box. (old box) :-) Thank you. :) (0 Replies)
Discussion started by: apokobondo
0 Replies

7. Filesystems, Disks and Memory

backup NetApp using dump command

I have been trying to backup my NetApp /vol/vol0 data to local tape drive. It is around 68GB. The tape I am using is DLT tape and should be able to handle 70GB data. However, dump always aborted around reaching 57~58GB data. Tape drive is attached on NetApp. 1st try to dump /vol/vol0 to... (2 Replies)
Discussion started by: yellowfish
2 Replies

8. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies

Featured Tech Videos