- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: backup problem
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-08-2004 12:56 AM
09-08-2004 12:56 AM
backup problem
In one of the HP-UX servers i am getting the following error.
/opt/system/bin/backup.sh[872]: TAPE_TOTAL[1]: bad number
/opt/system/bin/backup.sh[872]: TAPE_TOTAL[2]: bad number
/opt/system/bin/backup.sh[872]: TAPE_TOTAL[3]: bad number
fbackup exited with Status 4 - Possible causes are new tape or no dates file
~
~
Bue when i check the logs of backup it shows successfull.
The backup script is attached.
Can anybody pls help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 01:33 AM
09-08-2004 01:33 AM
Re: backup problem
while [ ${NUM_LOGS} -gt ${BACKUP_TAPES} ]
Something is wrong here in the context of the script but I'm not a script specialist to tell you what is wrong with this line...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 02:49 AM
09-08-2004 02:49 AM
Re: backup problem
2 problems
1)fbackup returns one of the following values:
--------------------------------------------
0 upon normal completion.
1 If it is interrupted but allowed to save its state for possible restart.
2 If any error conditions prevent the session from completing.
4 if any warning conditions are encountered.
If warnings occur, the operator should verify the
fbackup logs to justify the sanity of the backup taken.
4 can be returned if files were open during backup
2)The script error
put set -x
after line 1 and run it
You see what is happening then
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 02:51 AM
09-08-2004 02:51 AM
Re: backup problem
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 04:01 AM
09-08-2004 04:01 AM
Re: backup problem
echo "BACKUP_TAPES=21"
I do not see where this is actually being set, thus a bad number.
[ ${NUM_LOGS} -lt ${BACKUP_TAPES} ] || {
while [ ${NUM_LOGS} -gt ${BACKUP_TAPES} ]
Regards,
dl