LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2007, 02:15 PM   #1
manish_meet_in
Member
 
Registered: Apr 2006
Posts: 40

Rep: Reputation: 15
Urgent : Automated scripts require to check device file in hpux


Hi all,

I am looking for a shell scripts which check in HP box wheather the device(DDS/DAT) is feasically insert in drive or not and it is working fine. Once it went through all these validation then it will start taking backup file system automatically.

Thanks
Manish
 
Old 01-24-2007, 02:38 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
please do not mark threads as urgent. they are not urgent for any of the members who kindly donate their time for free to help others.
 
Old 01-25-2007, 12:24 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by manish_meet_in
Hi all,

I am looking for a shell scripts which check in HP box wheather the device(DDS/DAT) is feasically insert in drive or not and it is working fine. Once it went through all these validation then it will start taking backup file system automatically.

Thanks
Manish
What do you think the benefit of those checks would
be if the script runs unattended at night? Might just
as well run the back-up and read the notification from
cron about the failure in the morning. In either case
you won't be up to change the tapes at the scripts run-
time. And I hope you're NOT planning on running the
back-up during working hours.


Cheers,
Tink
 
Old 01-26-2007, 08:44 AM   #4
manish_meet_in
Member
 
Registered: Apr 2006
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Tinkster
What do you think the benefit of those checks would
be if the script runs unattended at night? Might just
as well run the back-up and read the notification from
cron about the failure in the morning. In either case
you won't be up to change the tapes at the scripts run-
time. And I hope you're NOT planning on running the
back-up during working hours.


Cheers,
Tink
Hi Tink
You are right i am taking backup in the night only. But for few locations i am doing during office hours because of diff time. If that scripts check the device before start backup and if the device is not there i can request somebody on site to load the tape.

Thanks
Manish
 
Old 01-26-2007, 02:45 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
But if intervention is required anyway you could as well
just let the plain back-up fail and respond to the notification
by sending someone to check?


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
automated tasks scripts Texas_student Linux - Software 2 04-23-2006 12:07 PM
how to check that any /dev/ device file in use b123coder Programming 2 04-08-2006 08:17 AM
URGENT help require manishpatidar Linux - Hardware 1 02-03-2006 04:27 AM
FileServer w/ automated scripts for a small-sized enterprise tyiooo Linux - Enterprise 3 08-27-2005 01:26 PM
Any automated scripts to run DVD Backups? bweiss Linux - Newbie 3 04-28-2005 10:52 AM


All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration