LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-30-2005, 01:33 PM   #1
triley
Member
 
Registered: Oct 2003
Posts: 74

Rep: Reputation: 15
tape backup


I'm trying to create a backup copy of a 4mm tape drive in redhat 9. My system recognizes the HP tape drive and I can read the tape with mt, but I'm not sure of the commands to back the tape up.
 
Old 08-30-2005, 01:52 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"I'm trying to create a backup copy of a 4mm tape drive in redhat 9. My system recognizes the HP tape drive and I can read the tape with mt, but I'm not sure of the commands to back the tape up."

Use the tar command to write to the tape and to restore from the tape. See:

man tar

http://www.apl.jhu.edu/Misc/Unix-info/tar/tar_2.html

------------------------
Steve Stites
 
Old 08-31-2005, 11:14 AM   #3
rstewart
Member
 
Registered: Feb 2005
Location: Sunnyvale, CA
Distribution: Ubuntu
Posts: 205

Rep: Reputation: 38
Hi,

Do you want to back up (as in make a copy) of an existing tape, or do you want to use the tape drive as a backup device to back up your hard drive? I am unclear as to what you are asking about.

If you want to make a copy of an existing tape, then you can use the dd command to "bulk read" the tape from the tape device and create a raw/binary disk file on your local disk. Then you can again use the dd command to copy the raw binary disk file on to another tape mounted in your tape drive.

If you want to use the tape drive as a backup mechanism to back up your hard drive, then you can use any number of utilities. tar, dump, and cpio are three that immediately come to mind that perform quite well in that environment.

Just use the man facility to find out how each of the commands are supposed to work and you should be okay. However don't hesitate to ask additional questions if you get stuck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tape backup how to x2000koh Linux - General 4 01-25-2010 02:04 AM
Tape backup cbarbry Linux - Newbie 2 07-14-2004 05:07 AM
Tape incremental backup to different tape tungaw2001 Linux - Software 0 08-13-2003 09:42 PM
Tape backup help WorldBuilder Linux - Software 1 03-27-2003 01:26 PM
Which Tape backup? biggiefatts Linux - Hardware 4 02-19-2003 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration