Sponsored Content
Full Discussion: frecover
Top Forums UNIX for Dummies Questions & Answers frecover Post 314 by Neo on Wednesday 22nd of November 2000 01:17:47 AM
Old 11-22-2000
Thanks for the man page pointer. Here are my current thoughts of what I would do if this was my problem and some background discussion.

First of all, in my years of HPUX experience, I always tried to avoid using SAM. SAM does many commands when you execute a function and it is hard to debug errors, as you are discovering.

Back away from SAM, decide what you are going to do, use the HP documentation and man pages and do it, step-by-step without SAM in between you and the environment. This has always been my method-of-operating in an HPUX environment. That is not to say that SAM is 'not good' because I use it to add users, groups and other less complex tasks. However,
for non-trivial tasks or tasks that are giving errors, I immediately move from SAM to the command line.

Now, assume you are at the command line. Take a look at the files and their permissions, write them down, etc. Start your reconfiguration step-by-step. If that does not work and you get errors, for example with frecover(); I would use a system call tracing utility to find out what is the exact HPUX system call returning the error and the arguments being passed to the system call. Sometimes the return codes of the systems call are much more informative that the text messages in the console. You will have to read the detailed man pages of the system calls to get this information. Somethings you will have to go into the header files in the associated system libs and look for the #defines in the right includes to get the next level of details.

I don't recall the name of the HPUX system call trace utility, something like ptrace() or strace() or something like that. There is one however, and learning to use it will become one of your greatest sysadmin debugging tools.

However, in many cases, just executing the task from the command line, step-by-step, in a controlled manner, with lead to a discovery of the problem. It may not be necessary to go a level deeper into system call tracing; but you will surely learn a lot about your environment getting out from under SAM and into the nuts-and-bolts of the task at hand.
 

6 More Discussions You Might Find Interesting

1. HP-UX

frecover

I have machine (HP-UX) 11.x and I took backup using fbackup (took 4 DDS tapes) then i did restore using frecover . the restore failed on the 4th tape . and the process killed . Can I restore only the 4th tape. or I have to do full recover from biginning ? (1 Reply)
Discussion started by: salhoub
1 Replies

2. UNIX for Dummies Questions & Answers

frecover on HP 11.11

Hi, Can someone please explain how I can check whether my files were backed-up to tape. I issued this command and got an error:- # frecover -I /tmp/mth -f /dev/rmt/5m frecover(2105): did not find expected file marker frecover(5409): unable to read volume header frecover(5418): not an... (2 Replies)
Discussion started by: gummysweets
2 Replies

3. HP-UX

HP fbackup/frecover to SUN UNIX format?

Hi All, We have about 7 years worth of data which used the HP fbackup utility. Is there any utility to read these tapes on Solaris? The goal is to create new tapes using Legato. Do we need to download them to a box first using frecover, then copy them from SUN using Legato? Any help in... (0 Replies)
Discussion started by: tinakumar
0 Replies

4. HP-UX

frecover command need help urgent please

Hi, I have a tape fbackup done (fbackup -f /dev/rmt/0m -i / -I index.fullfbackup) and I need to restore 3 filesystems, I would like to know the correct command and options: example: I want to restore the filesystem /data1 under /data1 and /data2 under another filesystem /datatest I tried... (4 Replies)
Discussion started by: touny
4 Replies

5. HP-UX

frecover problem

I had to do a recovery and restore from backup (using ignite & backups from fbackup job) on hpux 10.20. Problem is, all users (except root) receive error 'unknown user' when logging in (during script that checks quotas). They can still successfully log in to the system. However, the files... (9 Replies)
Discussion started by: mrviking
9 Replies

6. Red Hat

frecover counterpart on linux

Hello All, The frecover command on HP UX gives information about the backed up file in the format- Magic Field: Machine Identification: System Identification:HP-UX Release Identification:B.11.11 Node Identification: User Identification: Record Size: Time: Media Use:0 Volume Number:1... (1 Reply)
Discussion started by: shamik
1 Replies
smh(1M) 																   smh(1M)

NAME
smh - HP System Management Homepage (HP SMH). SYNOPSIS
[ | | | ] DESCRIPTION
The command launches HP System Management Homepage (HP SMH) for performing system administration on an HP-UX system. HP SMH is an enhanced version of HP System Administration Manager (HP SAM). HP SMH provides web-based graphical user interface (GUI), terminal user interface (TUI), and command line interface (CLI). You can access these interfaces using the smh command. However, you can also use the sam(1M) com- mand. The sam(1M) command behaves the same as the smh(1M) command except that the deprecation message is displayed in the beginning. For more information on HP SAM, refer sam(1M) manpage. When you run either the command or the command and if the environment variable is set, HP SMH opens in the default web browser. If the environment variable is not set, HP SMH opens in the terminal user interface (TUI). Options recognizes the following options. Launches HP SMH on a web browser without security warnings. Launches HP SMH on a web browser with security warnings. The -r option applies only to the TUI of HP SMH. This option invokes Restricted SMH which, enables the system administrator to assign limited privileged user access to SMH functionality. You must be a privileged user to use this option. See the section below for more information. The -p option applies only to the CLI of HP SMH. This option invokes the /opt/propplus/bin/cprop command which, provides a command- line interface to most of the information available from the HP SMH property pages. The -p option can be used with different com- mands to view information about hardware and software, operating system, network and other system devices. See the cprop(1) manpage for more information on the command and the option parameters. Restricted SMH SMH can be configured to provide a subset of its functionality to certain users or groups of users. This is done through Restricted SMH. System administrators access Restricted SMH by invoking SMH with the option (see "Options" above). In Restricted SMH, system administra- tors may assign subsets of SMH functionality on a per-user or per-group basis. Generally, SMH requires privileged user rights to execute successfully. However, through the use of Restricted SMH, SMH can be configured to allow subsets of its capabilities to be used by non-privileged users. When Restricted SMH is used, non-privileged users are promoted to privileged users when necessary to enable them to execute successfully. By default, Restricted SMH executes all applications as privileged user. However, certain applications like software distributor have their own security mechanism and do not follow the Restricted SMH security model. In such cases, the application launched through Restricted SMH will be executed with the login id of the user who invokes it. A non-privileged user that has been given Restricted SMH privileges simply executes and sees only those areas the user is privileged to access. All the SMH functional areas require the user to be promoted to be a privileged user in order to execute successfully. SMH does this auto- matically as needed. SMH provides a default set of SMH functional areas that the system administrator can assign to other users. Restricted SMH does not apply to web-based GUI of HP SMH from HP-UX 11i v3 release as HP SMH has its own roles. For more information, refer HP SMH documentation available at http:/ /docs.hp.com and the HP SMH product online help system. Logging For information on logging, see samlog_viewer(1). AUTHOR
was developed by HP. SEE ALSO
sam(1M), samlog_viewer(1), ugweb(1M), evweb(9), fsweb(1M), secweb(1M), ncweb(1M), hpsmh(1M), kcweb(1M), parmgr(1M), pdweb(1M), smhas- sist(1M), smhstartconfig(1M), intro(7), cprop(1), HP SMH White Paper available at http://www.docs.hp.com smh(1M)
All times are GMT -4. The time now is 01:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy