Sponsored Content
Full Discussion: tar to tape drive command
Top Forums UNIX for Advanced & Expert Users tar to tape drive command Post 302461515 by vbe on Monday 11th of October 2010 11:43:47 AM
Old 10-11-2010
IMHO (Hope Im wrong...)I doubt you can give a name+extension AND sent to tape all in one...
Either you create a file you copy after to tape...
or
You pipe to tape (but cannot choose to give a name...)
Code:
tar cf - DIR | compress | dd of=/dev/rmt/0

 

8 More Discussions You Might Find Interesting

1. Solaris

Command to determine Tape Drive model and make

Hi, We have some IBM LTO tape drives connect over SAN. I have the following questions :- 1) Command that can list the tape drive details like who is manufacturer, model number, make etc etc 2) I would like to know what are the key differences between IBM LTO Generation 1 and Generation... (5 Replies)
Discussion started by: new2prog
5 Replies

2. UNIX for Advanced & Expert Users

Does tar do crc checking on a tape or tar file?

Trying to answer a question about whether tar table-of-contents is a good tool for verifying tape data. (1 Reply)
Discussion started by: tjlst15
1 Replies

3. Solaris

tar on remote tape drive

hello guys, am trying to save a file file1 to a remote tape drive using tar and i get a permission denied error as shown below: server1%tar cvf - file1 | rsh server2 dd of=/dev/rmt/1m conv=sync a file1 1883905K permission denied since server2 requires login username and password, i see in... (3 Replies)
Discussion started by: nom
3 Replies

4. Solaris

backup through tar command on remote tape

Hello Everybody I have two servers, name A & B. I need to take a backup of one directory(/girish) on serverA. But my tape drive is in serverB through tar command. But when I run the following command it doesn't take the backup. Could any one correct my command to take a backup tar cvf - ... (0 Replies)
Discussion started by: girish.batra
0 Replies

5. AIX

Tape Drive

I have tape drive in one Lpar. when i saw that time tape is in defined state. After that i deleted the tape drive using the rmdev -R command. Then fired the cfgmgr -v command. But I am not getting the tape drive. Now the drive is even not in defined state also. It is not shown the tape drive. How... (1 Reply)
Discussion started by: pernasivam
1 Replies

6. Solaris

Tar & Tape drive without media

Hi all, I would like to know what would happen if the tape (media) is not placed on the drive and a tar command is executed to backup on the tape. My problem is that tar command hanged for multiple days instead of throwing the error, Is it valid behaviour? I was unable to test the... (4 Replies)
Discussion started by: jmsathish
4 Replies

7. AIX

savevg/tar/mksysb of server-A on remote tape drive possible ?

Every 3 months we have to do backups (smitth mksysb/lsmksysb + tar) on at least 30 workstations. We have to carry around 2 external tape drives to connect to them. It is a pain to do because it takes at least 3 days to do (evening/night shift) and users sometimes complain that there desk is not put... (1 Reply)
Discussion started by: Browser_ice
1 Replies

8. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
AMVERIFY(8)						      System Manager's Manual						       AMVERIFY(8)

NAME
amverify - check an Amanda tape for errors SYNOPSIS
amverify config [ slot [ runtapes ] ] DESCRIPTION
Amverify reads an Amanda format tape and makes sure each backup image can be processed by amrestore and, if possible, the appropriate restore program (e.g. tar). Amverify runs amrestore on each file of the tape and pipes the output to a restore program (if available) with an option to create a cata- logue of the backup. The catalogue itself is discarded. Only the success or failure of the operation itself is reported. If the backup image cannot be processed by the restore program, e.g. if it was written on a different operating system, the image is sent through dd to /dev/null. This still determines if the tape is readable, but does not do any internal consistency check on the image. If config is set up to use a tape changer, the slot argument may be used to choose the first tape to process. Otherwise, the current slot is used. The runtapes configuration parameter determines how many tapes are processed unless it is specified on the command line. See the amanda(8) man page for more details about Amanda. AUTHOR
Axel Zinser <fifi@icem.de> SEE ALSO
amrestore(8), amanda(8), amverifyrun(8) AMVERIFY(8)
All times are GMT -4. The time now is 12:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy