04-12-2007
You ask about 3 filesystems but only mention 2 leaving me confused...
fbackup/frestore basicly ignores filesystem boundaries. So /data1 and /data2 are just two directories. You can use multiple -i options to restore multiple files or directories. So
-i /data1 -i /data2
will work fine. However, you cannot have one going into the real /data1 while /data2 is restored relative to the current path. It is all or none. The -X will effect everything. You might be able to do something like this:
umount /data1
rmdir /data1
ln -s /big_fs/testdata1 /data1
frecover -x -i /data1 -i /data2
rm /data1
mkdir /data1
mount /data1
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 OPENSOLARIS
ndmpstat
ndmpstat(1M) System Administration Commands ndmpstat(1M)
NAME
ndmpstat - show NDMP backup progress statistics
SYNOPSIS
ndmpstat [tapes] [interval [count]]
DESCRIPTION
The ndmpstat utility reports Network Data Management Protocol (NDMP) statistics, among which are NDMP worker threads, disk IO, tape IO,
files operation, performance, and backup activity.
ndmpstat reports the aggregate statistics for all tapes and disks. In order to obtain statistics for specific tape devices, the tape device
name should be passed as argument to the utility.
When invoked, ndmpstat begins its display with a one-line summary of the NDMP daemon activity since the NDMP service was invoked.
Display Fields
The fields in ndmpstat output are described as follows:
wthr
Report the number of worker threads in each of the four following states:
r
the number of worker threads running
w
the number of blocked worker threads that are waiting for resources such as I/O and paging
b
the number of backup operations currently running
r
the number of restore operations currently running
file
Report on usage of filesystem.
rd
the number of files being read
wr
the number of files being written
disk
Report the number of disk operations per interval.
rd
the number of disk blocks being read
wr
the number of disk blocks being written
tape
Report the number of tape operations per interval. There are slots for up to four tapes, labeled with a single number. The number indi-
cates the name of the device under /dev/rmt.
rd
the number of tape blocks being read
wr
the number of tape blocks being written
bytes
Report the number of bytes transferred. This is the aggregate value of both tape and disk devices. The number is in kilobytes.
rd
the number of kilobytes being read
wr
the number of kilobytes being written
perf
Displays a rough estimate of performance of the backup/restore operation in megabytes per second.
bk
backup performance
rs
restore performance
prcnt
Display the comparative usage of resources, in percent.
dsk
disk I/O time
tpe
tape I/O time
otr
other time (memory or idle)
See EXAMPLES.
OPERANDS
The following operands are supported:
count Specifies the number of times that the statistics display is repeated.
tape Specifies which tapes are to be given priority in the output. A command line is limited to a maximum of four tape devices. A
common tape name is /dev/rmt/n, where n is an integer.
interval Specifies the number of seconds over which ndmpstat summarizes activity. The specified interval remains in effect till the com-
mand is terminated.
EXAMPLES
Example 1 Using ndmpstat
The following command displays a summary of NDMP daemon activity at five-second intervals.
example% ndmpstat 5
wthr file disk tape bytes perf prcnt
r w b r rd wr rd wr rd wr rd wr bk rs dsk tpe otr
1 0 3 6 50 9 1250 0 32544 4455 42335 3234 5 4 20 40 40
1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20
1 0 0 1 2 0 128 0 0 0 64 0 1 0 80 0 20
1 0 0 1 1 0 128 0 0 0 64 0 1 0 80 0 20
1 0 0 1 3 0 128 0 0 0 64 0 0 0 80 0 20
1 0 0 1 1 0 128 0 0 128 64 64 1 0 0 80 20
^C
example%
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWndmpu |
+-----------------------------+-----------------------------+
|Interface Stability |See below |
+-----------------------------+-----------------------------+
Invocation is evolving. Human readable output is unstable.
SEE ALSO
iostat(1M), mpstat(1M), ndmpd(1M), ndmpadm(1M), attributes(5)
NOTES
Performance numbers are not accurate and are rounded up at the MB/sec. boundary.
SunOS 5.11 21 Jun 2007 ndmpstat(1M)