- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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-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