StoreEver Tape Storage
1752808 Members
6639 Online
108789 Solutions
New Discussion юеВ

Re: Backup to Tape Drive

 
Trisno
Frequent Advisor

Backup to Tape Drive

Hi,

How can i back up to Tape Drive using Unix UX ?

1. tar cvf /dev/rmt/0m ./user/dmn/test.dmp

2. tar xvf /dev/rmt/0m

but i can't see a a file , can u help me
5 REPLIES 5
Thayanidhi
Honored Contributor

Re: Backup to Tape Drive


I suppose /dev/rmt/0m is your tape drive.
After tar cvf, run "tar tvf /dev/rmt/0m" to list the content of the tape.

See man page of tar "man tar"

Regads
TT
Attitude (not aptitude) determines altitude.
Trisno
Frequent Advisor

Re: Backup to Tape Drive


Tks for your help.

Yes dev/rmt/0m is my tape drive, i have see my backup file with command tar tvf /dev/rmt/0m and i can see that file but when i backup another file again to my drive the first file is gone. is it overwtitten with the newer back up file ???

And what the different between using tar command or fbackup command ?? which is the best ???

Tthaks alot of



Joe Short
Super Advisor

Re: Backup to Tape Drive

What is happening is the tape is rewinding afer the first backup. There are a couple of ways to fix this. First, if there are going to be several of these backups done consecutively, use the no rewind device /dev/rmt/0mn
Alternatively, you could use the mt command to advance to the proper position.
man mt to get more info.
Trisno
Frequent Advisor

Re: Backup to Tape Drive

I c , but i just want see ALL my backup files in the tape after i backup it to the tape.
If i use /dev/rmt/0mn , they will show one by one the file .

Tks for your kind
Thayanidhi
Honored Contributor

Re: Backup to Tape Drive

Hi,
Either you can use
tar cvf /dev/rmt/0m /folder1 /folder2
and so on in a single command or
use fbackup with graph file.
Create graph file with all the files/folder needed, then run fbackup with g option.

Read man pages of tar and fbackup.

Regds
TT
Attitude (not aptitude) determines altitude.