Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

verify tape info using dump command

Posted on 1998-07-28
6
Medium Priority
?
247 Views
Last Modified: 2013-12-23
after using the dump command on a sunos 4.1.3U1.
i use "mt -f /dev/rst1 status" to view the tape status

is there another command I can use after I backup the data on tape to verify the partition had been backup properly?
0
Comment
Question by:spak1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 

Author Comment

by:spak1
ID: 1583054
thanks in advanced for the advice.

kindest regards.

sae pak
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1583055
mt status
just tells you the status about the tape currently loaded, it does not know anything about data and/or verification, this must be done by the dump command.
Does dump have a verify option somehow, otherwise you must read back your tape and verify yourself (usind diff, cmp, etc.)
0
 

Author Comment

by:spak1
ID: 1583056
I'm using the dump command now but
what would the command line look like?

dump ????



0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

Author Comment

by:spak1
ID: 1583057
I'm using the dump command now but
what would the dump command line look like to see what has been
written to the mag tape?




0
 
LVL 2

Accepted Solution

by:
gormenghast earned 200 total points
ID: 1583058
Hi
Use either:

restore tvf /dev/rst1

to verify and display the tapes contents.
or

restore ivf /dev/rst1

to enter interactive mode where you can check the contents and exit without actually doing a restore.

You could even create a script to carry out your dump then check it was successful and then create a file listing the contents of the tape. Very basically:
#!/bin/csh
dump 0uf /dev/rst1 /partition
if ($status) then
   echo "dump failed"
   exit 1
endif
restore tvf /dev/rst1 > /backup/TOC_`date +%m-%d+%y`
0
 

Author Comment

by:spak1
ID: 1583059
thank's for the answer!!!

u the man!!!


0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question