LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-18-2006, 12:17 PM   #1
joewee
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: SuSE 10.1, FC6, Freespire, Solaris, SunOS, SCO
Posts: 41

Rep: Reputation: 15
Backup Apps for a DAT 20/40?


Several issues I have to deal with and am linux green.

Just installed a DAT 20/40 SCSI tape drive:

Running backups with TAR for some reason I error out stating that there is no more room on the tape. I am only backing up about 18gb and I get the error at about the 12gb point. I am using 150m tapes. I dont know if something else need to be set for drive or tape parameters but I dont see a switch to address it.

I cant get KDat to work it for some reason wont recognize that there is a drive at /dev/st0 although that is what I use when taring which is what KDat is set to use(I also set in pref /dev/st0 to no avail).

I tried the backup app Taper, it seems to work but for some reason is extreamly slow and I have aborted as a result.


What I need is an application that works. I know all the guru's joke about thats what TAR is for but I really dont care what I use so long as it gets the job done. I would perfer something that can be easily scheduled and easily recovered from on a file selection basis. Oh yea it need to be free too! =) Thank you all in advance for your words of wisdom!

Should I have posted this somewhere else?

Last edited by joewee; 10-18-2006 at 12:24 PM.
 
Old 10-18-2006, 12:39 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Try setting up or using dump or amanda even, if this is just a single tape drive to perform backups.
 
Old 10-18-2006, 01:51 PM   #3
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

Rep: Reputation: 46
Taper will not work. It was designed when tapes were 2 gigs. I don't hink it's been updated recently, though it was a nice and easy program. I could be wrong, but isn't a 150 meter tape DDS-3? That would be 10-20 gigs. By default, the tape will not be compressing anything, which means the lower number is the most likely amount to be stored. If you feel comfortable with tar, you can always first pipe the results to a compression utility, such as gzip, and then send it to the tape drive.
 
Old 10-18-2006, 10:44 PM   #4
joewee
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: SuSE 10.1, FC6, Freespire, Solaris, SunOS, SCO
Posts: 41

Original Poster
Rep: Reputation: 15
Ok how would I pipe gzip into it?

Will this work? ExampleI cant try at the moment)

Code:
tar cvpf /dev/st0 --label="101706" --directory / home

like this ???

tar cvzpf /dev/st0 --label="101706" --directory / home
I really dont know how to combine the two.

Oh btw the tapes are DDS4 150m 20/40

Thanx...

Last edited by joewee; 10-18-2006 at 11:50 PM.
 
Old 10-19-2006, 07:34 AM   #5
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

Rep: Reputation: 46
Gzip, as you have guessed uses the 'z' (lower case 'z' without quotes) flag. Your syntax looks fine. You can also use bzip2 instead by using an 'I' (capital 'I' without quotes). Slackware uses a different flag for bzip2, possibly -y. Sorry about my comment about the dds-3 vs dds-4 length of tape.
 
Old 10-19-2006, 09:08 AM   #6
joewee
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: SuSE 10.1, FC6, Freespire, Solaris, SunOS, SCO
Posts: 41

Original Poster
Rep: Reputation: 15
Thanx for the help apolinsky. As for the tapes I dont know what the deal is, I had to look again myself. From everything I do know it should have held close to 20gb of uncompressed data. Oh well hopefully I have more luck getting what I need backedup with compression.
 
Old 10-19-2006, 09:26 AM   #7
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

Rep: Reputation: 46
I don't know if you are aware that tar can span tapes if you use the 'M' (multi volume) option. If you decide to look beyond a mere 'tar' I would suggest you take a look at bacula. It is a network based complete backup system similar to commercial products. it can be used to backup and restore linux, windows, and bsd machines with tape spanning and database storage of what is on the tapes (mysql postgresql or a simplified dbms.) I have used it for many years, after I gave up with amanda which could not span tapes, at least when I tried it.
 
Old 10-19-2006, 09:58 PM   #8
joewee
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: SuSE 10.1, FC6, Freespire, Solaris, SunOS, SCO
Posts: 41

Original Poster
Rep: Reputation: 15
Code:
 tar tvf /dev/st0 >>textfile

Last edited by joewee; 10-20-2006 at 12:39 AM.
 
  


Reply



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
DLT/DAT backup system for Linux metallica1973 Linux - Networking 3 10-02-2006 01:42 PM
how to backup the entire linux os to the dat tape drive cwng76 Linux - Software 1 07-12-2006 02:41 AM
Slack 9.1 - PHP apps can't access MySQL but Perl Apps can tallship Linux - Software 1 06-13-2004 08:41 AM
Already installed apps not loading after rpm installer for other apps toastermaker Linux - Newbie 11 11-17-2003 11:25 AM
Menu troubles: apps do not launch; unable to add apps hfinger Mandriva 1 08-22-2003 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:01 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