10 More Discussions You Might Find Interesting
1. AIX
Hi, AIXers :)
Recently i'm playing around with cpio command, when i try to list out content from LTO2 Tape media using
command:
#cpio -itvc < /dev/rmt1
it's stopped at particular path
100777 root 1042591 Mar 24 10:09:05 2012 /home/uv/bin/usd
and there was an error thrown out:
... (2 Replies)
Discussion started by: polar
2 Replies
2. Shell Programming and Scripting
Hi there,
Alright I have this line that I'm working with (bash programming):
mysql -u username -pHASH ${args} < /home/site/backups/site.${args}.sql
I get this error on that line:
./restore.sh: line 51: syntax error near unexpected token `newline'
./restore.sh: line 51: `mysql -u... (5 Replies)
Discussion started by: Pandoula
5 Replies
3. Solaris
Hi,
I want to take backup of files older than 20 days from a directory onto a tape drive on remote machine on Solaris.
The files are of format abc-20100301000000.gz on my local machine.
I know the below commands for searching files older than x days and command for backup procedure.
solar1 #... (7 Replies)
Discussion started by: jyothi_wipro
7 Replies
4. UNIX for Dummies Questions & Answers
Hi all
I had started to learn how to backup disk to disk to tape method
Firstly I had backup to my NAS
tar czvf /MyNetworkStorge/backup.tar /home
Secondly I using dd command to copy the tar to tape
dd if=/MyNetworkStorge/backup.tar of=/dev/tape0
But the tape drive always hang.... (5 Replies)
Discussion started by: lijiajin
5 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies
6. UNIX for Dummies Questions & Answers
Hi there: I'm new here
Can anyone help me:
I have DS15 Alpha server : Unix 5.1B
Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit.
What is the exact comman to mount the DLTape IV??
How do i make backuo @ copy file to the tape?
Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies
7. Shell Programming and Scripting
hi all,
very urgent need backup script on tape using solaris 8, my tape drive is DAT 72 on sun v240.
i need a simple script to backup files from directory /data/log/back/200703/filename.log. the files will backup continue each day on the tape which have 72 GB. the files size only 50MB and... (0 Replies)
Discussion started by: bucci
0 Replies
8. Solaris
Hello all,
I have an ss20 running Solaris 7, with an attached 4mm tape drive. The machine has one 1.2GB SCSI HDD. I would like to backup other machines
to tape, but I can't do a stopover on the ss20s hard disk, as there is virtually no space available. Is there a way I can make the tape... (5 Replies)
Discussion started by: jolok
5 Replies
9. UNIX for Advanced & Expert Users
Hi,
OS: Solaris9, SPARC.
Commands (and their outputs) that I use to backup two files of size 4GB and 10GB (respectively) are shown below:
# cd /backup/daily/
# mt -f /dev/rmt/0m rew
# tar -cvf /dev/rmt/0m *
a Mails.bkf 4680454 tape blocks
a backup.bkf too large to archive
#
The... (3 Replies)
Discussion started by: mahatma
3 Replies
10. Linux
All,
Has anybody ever got a Linux server to backup to a remote Solaris tape drive using the dump command and rsh? I can remtoely backup two Solaris server this way. Any help would be appreciated.
Thanks,
Mike (0 Replies)
Discussion started by: bubba112557
0 Replies
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)