Restoring tape files...


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Restoring tape files...
# 1  
Old 03-09-2007
Restoring tape files...

Hi all,

I have kinda inherited this problem, but was wondering if anyone else had any ideas.

Currently all our backup rentention periods are set to 2 weeks, so that we can cycle through tapes (save money etc...). Anyhow the guys next door in IT, decided one day long long ago, that it would be a good idea to do monthly backups. Unfortunatley, they didn't tell us this, and so it has now become a problem.

My question is this. Does anyone know of a way to well, essentially by-pass veritas NBU on a vertias volume managed system, and restore things from tape. I know that I can do this from a VXRESTORE, however its an oracle rman backupset that I am looking to restore and normal file system and I didn't use a vxdump in the first place (well I prosume NBU didn't anyhow).

From an OS point of view under Solaris I managed to find some utilities TCOPY and MT. MT doesn't seem to allow me to do this. However TCOPY seems like a good solution, however, it will only copy from tape to a dir, I prosume the entire tape, and being that we don't really have systems with a 200gig + mount point at the moment, I don't fancy trying it.

Has anyone got any other ideas for something that I use? Ideally I would like to be able to mount the tape and see whats on it, and decided what to restore myself.

thanks,

Mark.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Restoring files from backup based on ctime

Hello, I need to restore some yesterday emails from backup within a 5 hours timeframe this is a openvz container, backup is made by rsync files to another partition in the same server I have tried to do this #!/bin/sh cd /vz/backup/414/home/smartftp/mail/domain1.com/ for dir in new... (6 Replies)
Discussion started by: cuantica
6 Replies

2. Shell Programming and Scripting

Restoring problem on tape!

hi all , a messages appeared to me when i was checking my /var/adm/messages and the below code was in it Oct 6 13:15:21 medprod scsi: /pci@3,700000/SUNW,emlxs@0/fp@0,0/st@w21000024ff305234,7 (st1): Oct 6 13:15:21 medprod Restoring tape position at fileno=320,... (5 Replies)
Discussion started by: semaan
5 Replies

3. UNIX for Advanced & Expert Users

Restoring files from CVS !

I have accidently removed a file using the command rm -r "file.txt" (I have removed it locally !) I need to restore the file.txt to my existing CVS version.How can I do it ? Please help. Thank you. :wall: (5 Replies)
Discussion started by: gameboy87
5 Replies

4. Solaris

Information about taking dump of a unix server on a tape and then restoring

Hi all, Can anyone provide me with a site or book that gives detailed information about taking dump of a unix server on a tape and then restoring the server from the dump Also i want information about migration from old server to new server (solaris 5.6 to solaris 8) (3 Replies)
Discussion started by: asalman.qazi
3 Replies

5. Solaris

Restoring dump from tape to SCSI disk

Hi Gurus, I need help. Mine is an Ultra 10 machine running on solaris 7. Problem with solaris 7 is, it can no longer recognize IDE disks greater that 10GB. My workaround is ro use an external SCSI disk since it is recognizable with solaris 7. I backup my filesystems (residing on the IDE... (2 Replies)
Discussion started by: domesat
2 Replies

6. Solaris

Problem restoring files from remote tape drive

Server 1 - Sun Solaris 5.8 sparc SUNW,Sun-Fire-480R with attached DLT tape drive /dev/rmt/0n Server 2 - Old DG-UX box which has restore command on it compatible with the files on the backyup tape - backed up with dump2 Server 3 - Sun solaris 5.9 sparc SUNW,Sun-Fire-V490 with lots of free space... (4 Replies)
Discussion started by: lindab
4 Replies

7. UNIX for Dummies Questions & Answers

Blocksize problem restoring file from tape

I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize. The part of the script that does the tar looks like this: tar cvfX... (11 Replies)
Discussion started by: citrowske
11 Replies

8. UNIX for Dummies Questions & Answers

restoring deleted files

I had a user run, by accident, the following line command on our UNIX server: rm -f /usr/* This apparently deleted some needed files on your system. Having very limited knowledge in UNIX, I thought I would ask the group if anyone knows how I can recover these file? The version of UNIX is... (3 Replies)
Discussion started by: mikem
3 Replies

9. AIX

Problems restoring from tape in AIX

I am trying to restore some files from a DLT drive in AIX 4.3 but I am having a few problems. Basically when I try to run the restore command I get the following error: Cannot read from the specified input. Please enter the device name when ready I am the following command for the restore ... (0 Replies)
Discussion started by: The Hunter
0 Replies

10. UNIX for Dummies Questions & Answers

Restoring a file from Tape

help please i have "inherited" a Sco Server (the administrator departed in a hurry...yes we are chasing him..) and haven't used Unix for 8 years. i have a file that i need to retrieve from a tape. i have been able to find the file on tape using the cpio -ivt command. however... the problem I... (3 Replies)
Discussion started by: mfischer
3 Replies
Login or Register to Ask a Question
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)