- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Backup issue
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
Forums
Discussions
Discussions
Discussions
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
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-24-2009 06:12 AM
09-24-2009 06:12 AM
Backup issue
I want to automated backup thrugh SAM with cron.Follwoing are the contents
00 00 * * 0,2-6 /usr/sam/lbin/br_backup DAT FULL Y /dev/rmt/0mn /etc/sam/br/graphFDAa18538 rprawdzi Y 1 N > /var/sam/SAM_br_msgs 2>&1 #sambackup
All is OK but SAM is showing CORRUPT AUTOMATED BACKUP
When I changed ulimit to unlimited then that error was gone but there is new error
Error output (stderr) from command "/usr/sam/lbin/br_get_cron
awk: Input line BRACKET, MTG-S4A/S4V cannot be longer than 3,000bytes
The input line number is 1.
The source line number is 44.
Please suggest on this
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2009 08:01 AM
09-24-2009 08:01 AM
Re: Backup issue
I would suggest a sam patch.
http://itrc.hp.com
patch database
search for sam.
A sam script is issuing an illegal awk command. That is a software fault and I'd be surprised there would not be a fix for it.
Unless you want to debug the awk command. That would be fin.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2009 08:10 AM
09-24-2009 08:10 AM
Re: Backup issue
I have running old OS i.e 11.0 is there available any SAM patch you are saying about?
Also i have tried latest awk patch but no luck.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2009 08:59 AM
09-24-2009 08:59 AM
Re: Backup issue
http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_30728&sel={hpux:11.00,}&BC=main|search|
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2009 09:25 AM
09-24-2009 09:25 AM
Re: Backup issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2009 12:50 PM
09-24-2009 12:50 PM
Re: Backup issue
put
usr/sam/lbin/br_backup DAT FULL Y /dev/rmt/0mn /etc/sam/br/graphFDAa18538 rprawdzi Y 1 N > /var/sam/SAM_br_msgs 2>&1 #sambackup
in a file somewhere and make it executable...
then in cron...
0 00 * * 0,2-6 /mypath/mycommand >/dev/null 2>&1
It's how I would recommend doing all your cronjobs anyways... makes it easier to keep all of your error logs from cron jobs whereever you'd like, and not necessarily in root's mail box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 01:18 AM
09-25-2009 01:18 AM
Re: Backup issue
I have installed latest patch but same error is coming
oldschool
What you have taken action on this error??
I have also done backup manually but no luck.
It is completed but same error on SAM is coming
I have installed following patches
PHCO_27521 -- AWK
PHCO_31879 -- SAM
PHCO_29380 -- SAM(dependent Patch)
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 03:24 AM
09-25-2009 03:24 AM
Re: Backup issue
You may want to add "set -x" to a copy of /usr/sam/lbin/br_backup so you can trace what's happening and find which awk script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 03:26 AM
09-25-2009 03:26 AM
Re: Backup issue
>awk: Input line BRACKET, MTG-S4A/S4V cannot be longer than 3,000bytes
Does this data mean anything to you?
>SEP: A sam script is issuing an illegal awk command.
It looks more like sam is using awk on the wrong file, one with lines more than 3000 bytes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 04:20 AM
09-25-2009 04:20 AM
Re: Backup issue
I am trying to take backup throgh SAM as i said earlier.This is some one of the file system backup. We are using SAT tape.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 04:22 AM
09-25-2009 04:22 AM
Re: Backup issue
Sorry it is DAT tape.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 04:33 AM
09-25-2009 04:33 AM
Re: Backup issue
Are you saying that the text "BRACKET, MTG-S4A/S4V" comes from some data file you are trying to back up?
By adding "set -x" may give you a clue who is calling awk and with what files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 05:02 AM
09-25-2009 05:02 AM
Re: Backup issue
How to use set -x??
I am going at SAM then backup and recovery then automated backup then the error comes.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 05:10 AM
09-25-2009 05:10 AM
Re: Backup issue
Refer attachment for screen shots of error.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 05:19 AM
09-25-2009 05:19 AM
Re: Backup issue
I have also the error in event.log.Refer attachment
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 08:53 AM
09-25-2009 08:53 AM
Re: Backup issue
the Event Monitor report was very specific in stating the tape drive has failed.
I'd check cabling and terminators. run Library & Tape Tools or STM/CSTM and test it, or do what it told you and have the drive replaced.
Once you get that fixed, you can worry about backups......but I believe that your other issues will go away once it can actually *perform* the requested backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2009 06:59 PM
09-25-2009 06:59 PM
Re: Backup issue
I'm assume you are still trying to solve your crontab problem with /usr/sam/lbin/br_backup?
Make a copy and add the line "set -x" to the script, near the top.
>I am going at SAM then backup and recovery
Have you given up on br_backup?