09-26-2002
What is your O/S i.e Solaris, Aix, SCO etc
most versions of Unix have the cpio and tar commnads. To make sure your tape drive is working to begin with, create a file in /tmp Lets say call it backuptest (touch /tmp/backuptest)
use either command to write to the tape
tar cvf /tmp/backuptest > /dev/rmt/0cbn
To read it back, rewind the tape then
tar tvf < /dev/rmt/0cbn
or
find /tmp/backuptest -print | cpio -ocBvdum >/dev/rmt/0cbn
To read it back, rewind the tape then
cpio -icBvt </dev/rmt/0cbn
If you use AIX, I would suggest using the mksysb (Full system backup command)
If you use Solaris, I would suggest using the ufsdump command
and for SCO proberly best to use tar.
Hope it helps
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
An ultrium 2 tape was sent to our site to extract the data.
The problem is that they did not send instructions on how it was backed up, block size, etc.
Since then I found out that they used the DD command.
I tried running the following but it extracted only 3 lines worth of data.
It appears... (1 Reply)
Discussion started by: osuna
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape.
Thanks
DOMENICO (3 Replies)
Discussion started by: Minguccio75
3 Replies
3. 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
4. UNIX for Dummies Questions & Answers
Hello All:
We have acquired a business (UNIX system) and inherited data which is on SDLT tapes. We'd like to read this data and save it in Windows format, if possible.
Anyone in the know on how to do that, if feasible?
Please give your suggestions.
Regards (2 Replies)
Discussion started by: yourstruly
2 Replies
5. SCO
when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several:
Status : ready beginning-of-tape
soft errors : 0
hard errors: 2
underruns: 5
My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies
6. UNIX for Dummies Questions & Answers
I've been sent a file by a client that has no dot extension, which I'm told should be a MSSQL7 database with information I need to get out and ultimately export for upload to another system. My issue is that I have no idea what to do with this file. The properties indicate it's a Unix executable... (1 Reply)
Discussion started by: buccacom
1 Replies
7. AIX
Dear all experts,
I have a LTO3 tape drive and thinking of upgrade to LTO4 drive.
Before we proceed to upgrade, I have 1 question to ask.
As I will use the backup tape to restore into other server (pSeries p550), I have the problem of if I backup in LTO4 tape in future, how can I restore the... (1 Reply)
Discussion started by: kwliew999
1 Replies
8. AIX
Hi Everyone,
The machine I'm working on is an AIX 5.3 LPAR running on a P650. oslevel -r shows 5300-08. I'm trying to take a backup to a SCSI tape drive, which has been working up until this point. I know of nothing that has changed recently to cause this problem. But when I try to take a... (0 Replies)
Discussion started by: need2bageek
0 Replies
9. AIX
I am trying to use this command to eject the tape
mt -f /dev/rmt/0 unload
but it gives me error
mt -f /dev/rmt/0 unload
mt: 0511-575 unload is not a recognized subcommand.
Usage: mt Subcommand
Valid subcommands are:
weof
eof
fsf
bsf
... (5 Replies)
Discussion started by: filosophizer
5 Replies
LEARN ABOUT DEBIAN
dds-dd
dds-dd(1) General Commands Manual dds-dd(1)
NAME
dds-dd - tool to read a dds device.
SYNOPSIS
dds-dd [ -f device ]
DESCRIPTION
dds-dd reads a dds tape devices (DAT). Every block is read and written to stdout. A tape with unknown block size or blocks of different
size can be read.
The default device is /dev/rmt0, which may be overridden with the environment variable TAPE, which in turn may be overridden with the
-f device option. The device must be a character special file.
OPTIONS
-f device
Device of the tape archive (default is /dev/rmt0). Must be a character special file connected to a dds tape device.
-V,--version
Print the version number of mt-dds to stderr and exit immediately.
--help print some screens of online help with examples through a pager and exit immediately.
EXAMPLES
Example: Read the tape and make a listing:
dds-dd | tar ft -
Example: Read the tape and make a listing:
dds-dd | cpio -it
ENVIRONMENT
The environment variable TAPE overrides the default tape device /dev/rmt0.
SEE ALSO
dds2tar(1), dds2index(1), mt(1), tar(1)
HISTORY
This program was created to use it in conjunction with dds2tar.
AUTHOR
J"org Weule (weule@cs.uni-duesseldorf.de), Phone +49 211 751409. This software is available at ftp.uni-duesseldorf.de:/pub/unix/apollo
2.4 dds-dd(1)