LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2006, 07:28 AM   #1
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Rep: Reputation: 15
Linux backup solution on tape drive


Hi,

I have tried using tar programme for backup but I am able to take maximum 2GB on tape drive. Please let me know any other similar or better programme to take backup between 2 to 12 GB on a single tape drive.

regards,

T. Saravana
 
Old 09-20-2006, 12:02 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
What exactly is not working? Are you having trouble creating a backup or restoring from a backup? Do you mean that the tar command fails after it has backed up 2 GB to tape? What is the stated tape capacity? What type of tape are you using? (Not the brand, the type as in DAT,Travan, DLT, etc.)

If you are having trouble creating a backup then have you tried using another tape cartridge?

If you are having trouble restoring a large file from tape then it is possible that the file system onto which you are trying to restore a large file may not have the block size large enough to hold the large file. You would have to restore the file onto a file system with a larger block size.
 
Old 09-20-2006, 04:03 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by tsaravan
Hi,

I have tried using tar programme for backup but I am able to take maximum 2GB on tape drive. Please let me know any other similar or better programme to take backup between 2 to 12 GB on a single tape drive.

regards,

T. Saravana

What type of tape are you using? what is the full command that you are using also?
 
Old 09-22-2006, 12:47 AM   #4
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jstephens84
What type of tape are you using? what is the full command that you are using also?

Thanks you for your reply


The type device is:

Vendor: ARCHIVE
Model: Python 02653-XXX
Rev: 596A
Type: Sequential-Access
ANSI SCSI revision: 02

and the command i gave is:

tar cvf /dev/st0 /projects


The total data capacity is about 12.GB and when I issue the above command only 2GB has taken backup. I explored through net and found that with tar command maximum 2GB data can be taken backup. Do you have any solution?.

regards,

T. Saravana
 
Old 09-22-2006, 11:03 AM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
I am not sure if that is totaly true. On My risc 6000 box at work we use the tar command to backup to a mamamoth tape(150 gig). Will look at it when I am at work tonight and see what the commands are.
 
Old 09-22-2006, 04:58 PM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
I just learned something today. That is interesting about tar. if you do a man tar it talks about a 2 gig limit on files for tar. Looking into a way around.
 
Old 09-22-2006, 05:25 PM   #7
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
give this a try

to create the backup
Code:
tar --create --file /dev/st0 /projects
Then to check the contents.
Code:
tar --compare --verbose -f /dev/st0
 
Old 10-06-2006, 04:18 AM   #8
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jstephens84
give this a try

to create the backup
Code:
tar --create --file /dev/st0 /projects
Then to check the contents.
Code:
tar --compare --verbose -f /dev/st0

I am back office after vacation. I have tried as you said and received a message 'insufficient space'. When I issued compare command i could see upto 2GB files are taken backup with an error message 'unexpected EOF in Archive'. Is the drive could backup up 2GB or any configuration settings needs to be done or any format command is required. Any idea from you?.

regards,

T. Saravana
 
Old 10-06-2006, 05:12 AM   #9
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 440

Rep: Reputation: 45
I regulary backup to a 20gb/40gb travan tape drive using tar -cvzf with data capacity of about 32gb. Can do a tar -dvzf to compare differences which doesn't highlight any specific problems.

I would suggest you tar to a harddrive first just to eliminate whether it is tar that's hit a 2gb limit. If that works successfully I would suggest that the tape drive has a 2gb limit.

I can find no reference to the specific tape drive you mention try googling +python +tape. I would suggest that your tape drive is at best a 2gb/4gb Drive in which case you would be hard pressed to fit 12gb of data onto it.

You could try experimenting with a multi-volume back up with the -M flag or alternatively backing up the sub-directories within /projects to different tapes.

Regards

Alex
 
Old 10-06-2006, 10:22 AM   #10
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
I agree. It does sound like something is going on with your drive. I would try and see if you can backup the /projects direcotry to another directory on you computer.
 
Old 10-09-2006, 03:19 AM   #11
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aikempshall
I regulary backup to a 20gb/40gb travan tape drive using tar -cvzf with data capacity of about 32gb. Can do a tar -dvzf to compare differences which doesn't highlight any specific problems.

I would suggest you tar to a harddrive first just to eliminate whether it is tar that's hit a 2gb limit. If that works successfully I would suggest that the tape drive has a 2gb limit.

I can find no reference to the specific tape drive you mention try googling +python +tape. I would suggest that your tape drive is at best a 2gb/4gb Drive in which case you would be hard pressed to fit 12gb of data onto it.

You could try experimenting with a multi-volume back up with the -M flag or alternatively backing up the sub-directories within /projects to different tapes.

Regards

Alex

Thank you for your reply.

I tried tar to harddrive and I could archive 4G of one of the directories. Which means the tape drive is the problem. But I am wondering when we had this drive in novell Server we could take backup upto 12GB. Now I am confused whether the FC3 has taken compatible driver for this tape drive which is limiting to 2GB or is there any way where i can configure.

regards,

T. Saravana
 
Old 10-09-2006, 04:59 AM   #12
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 440

Rep: Reputation: 45
It's possible that the drive you have is an ARCHIVE Python 02635-XXX 4mm DAT 4/8GB DDS2 tape drive.

Is the limitation the drive or is it the tape you're using in this specific instance? Is the tape the limitation - what is the manufacturer and the tape manufacturer's codes?

If you've used the same capacity of tape I would find it hard to believe that the Novell Server could compress 12GB of data into the 4GB capacity of the drive.

Regards
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a backup solution (tape/nas/san...) yanik Linux - Enterprise 2 09-07-2006 03:41 PM
how to backup the entire linux os to the dat tape drive cwng76 Linux - Software 1 07-12-2006 03:41 AM
Using a DDS5 tape drive to restore from a DDS3 backup tape. AndrewCAtWayofthebit Linux - Hardware 1 05-14-2006 10:15 AM
Tape Drive Solution >35 GB Question backlash Linux - Hardware 0 01-21-2004 03:07 PM
cannot backup to tape drive complus Linux - Newbie 5 10-01-2003 06:17 AM


All times are GMT -5. The time now is 12:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration