04-12-2007
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 this for the restore of /data1 and it works:
frecover -vxF -f /dev/rmt/0m -i /data1
=> everyhting is correctly restored on the filesystem /data1
but if I want to restore the whole filesystem /data2 on another filesystem /datatest he didn't restore the path directory etc... only directly the files.... here the command I did
< / > # cd /datatest
< /datatest > # frecover -vxF -f /dev/rmt/0m -i /data2
Could you give me the good options to do it propery Thanks in advance it is very urgent !
Cheers
Al
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Started an frecover from Sam, with a recovery scope and a different destination.
Here is what is happening.
Starting file recovery...
frecover(5423): incorrect volume mounted;
frecover(5424): expected volume 1, and got 2
frecover(5433): Do you wish to continue using this volume? (^/^) y... (5 Replies)
Discussion started by: molonede
5 Replies
2. HP-UX
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
3. UNIX for Dummies Questions & Answers
hi all. thanks for looking
i am doing some homework.
one question is that when type
wc
and then how to tell the program that we have finished entering data?
also
why do some operating systems report 22 as the number of bytes in the file above, while others only 20?
thanks so much,... (1 Reply)
Discussion started by: dashi2k
1 Replies
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
hello
i need help in cut command .. i want to cut the column number 1 - 4 coulmn from my data file . all feilds are tabe delimeted .
i am doing this way but getting error
the data is generated after that i am opening that file in
cat testdata.log | cut - d" " -f 1,2,3 >... (2 Replies)
Discussion started by: getdpg
2 Replies
6. HP-UX
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
7. HP-UX
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
8. Red Hat
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
9. Shell Programming and Scripting
I was trying to move a file to a particular directory. In a hurry i forgot to give the dest directory, as below
mv prod.log
The file disappeared. :confused:
Any idea where it might have moved???
And I have tried moving files based on date from one directory to another as below.... (1 Reply)
Discussion started by: siteregsam
1 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I want to split the file after size gets above 100kb.
So I am using below command.
split -b 100kb File.txt Test
But after first file, my record is breaking as in middle of the record, size of file is getting above 100kb. So after splitting half record is in one file and half... (1 Reply)
Discussion started by: Amey Dixit
1 Replies
LEARN ABOUT SUSE
openipmicmd
openipmicmd(1) An IPMI Command Interface openipmicmd(1)
NAME
openipmicmd - An IPMI Command Interface
SYNOPSIS
openipmicmd [-k entry-to-execute] <connection parms>
DESCRIPTION
The openipmicmd program allows a user to execute direct IPMI commands. It can work with direct interface with the OpenIPMI driver or with
IPMI LAN interfaces.
OPTIONS
-k entry-to-execute
Execute a single command an exit.
<connectionparms>
The parameters for the connection depend on the connection type. These are all described in openipmi_conparms (7)
COMMANDS
Once up, you can execute commands in the user interface. Note that commands and responses are asynchronous, you issue a command and the
interface returns immediately. When the response comes back, it will be dumped on your console. That's a little strange looking, but IPMI
is ansychronous underneath. Note that the -k option is synchronous, it will wait for the response or a timeout before returning.
0f lun netfn cmd [data1 [data2 ...]]
Send a command to the BMC you are connected to.
channel [ipmb] IPMB-addr lun netfn [seq] cmd [data1 [data2 ...]]
Send a command to a device on the IPMB bus. The "ipmb" string is optional. The seq must be provided if the netfn is a response (an
odd number). It must be the same sequence number that came in on the command in the "Command Sequence = seq" part of the command.
channel 00 IPMB-addr lun netfn cmd [data1 [data2 ...]]
Send a broadcast command to a device on the IPMB bus.
channel lan handle remote-swid local-swid lun netfn cmd [data1 [data ...]]
Send a command to a device over a LAN channel. Note that this not the same as a LAN connection. This sends a message through a
local BMC to a remote system that is hooked up with a LAN connection.
test_lat count command
Executes the given commands (one of the previous commands) count times and gives the average time per command to execute. Note that
"count" is hexadecimal.
help Display some help.
regcmd netfn cmd
Register to receive the given command. If the driver receives an external command, it will print it out. This only works with sys-
tem interface connections, it will not work on LAN connections.
unregcmd netfn cmd
Remove a command registration.
SEE ALSO
ipmi_ui(1), ipmilan(8), openipmi_conparms(7)
KNOWN PROBLEMS
The asychronous nature of the program can be annoying.
AUTHOR
Corey Minyard <cminyard@mvista.org>
OpenIPMI 05/13/03 openipmicmd(1)