- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need help on backup script on HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 01:06 AM
тАО09-10-2009 01:06 AM
I am attaching a backup script(create_archive) here which we were using on HP-UX PA-RISC 11.11 system but now we are migrating to HP-UX Itanium 11.31 system. This script is working fine on Itanium as well but when it finish the backup it is not coming back to # prompt. But when we see the log file it says "make_net_recovery completed successfully!".
Please find below what we are getting.I have to do ctrl+c to come back to # prompt. Please let me know what needs to be added in the script so that when backup is completed we get the # promt .
# ./create_archive
Checking version...
Archiving started...Thu Sep 10 01:15:35 PDT 2009
0
(Interrupt -- one more to kill letter)
< root@: /usr/local/bin > [vi: (root) pts/1]
#
Thanks in advance.
Gaby
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 01:08 AM
тАО09-10-2009 01:08 AM
Re: Need help on backup script on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 01:07 AM
тАО09-11-2009 01:07 AM
SolutionLine 53 & 54 give the problem !
line 53 : mailx -s "Net archive creation completed on `hostname`" $MAILLIST
line 54 : < /dev/null
line 54 is the continuation of the line 53 so you need to add a \ character at the end of the line or join the line 54 to the line 53.
Actually mailx is waiting on stdin to complet the body of your message. Your script doens't reach the line 54 ! < /dev/null is needed to close the stdin. So they must be part of mailx.
Regards,
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2009 07:16 AM
тАО09-17-2009 07:16 AM
Re: Need help on backup script on HP-UX
Will allocate points..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2009 01:49 AM
тАО09-18-2009 01:49 AM