LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-09-2003, 08:30 PM   #1
zymurgist
Member
 
Registered: Jan 2003
Location: Long Island
Distribution: Redhat 8.0
Posts: 109

Rep: Reputation: 15
Archiving


I have a large MP3 collection that I would like to back up to tape. I just bought a tape drive and I'm looking for an easy way to back up my library. I'd like to span the tape and compress the data. Its a Seagate STT20000A (TR-5 tapes).

I've poked through a couple of programs like Taper, Mondo, and Archeia, but they seem to be for system backups and I had a tough time getting them working.

Any ideas? A GUI would be nice, but not really mandatory.

I'm running Redhat 7.3 on a dual proc server.

tks

Last edited by zymurgist; 02-09-2003 at 08:32 PM.
 
Old 02-10-2003, 01:32 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
ark - gui based

CLI:

man tar

man gzip

(u'll tar it first then u'll gzip to compress).

hth.
 
Old 02-10-2003, 08:00 AM   #3
zymurgist
Member
 
Registered: Jan 2003
Location: Long Island
Distribution: Redhat 8.0
Posts: 109

Original Poster
Rep: Reputation: 15
Problem is that I don't have the space to tar them to first and then zip them. I need to stream them right to my tapes and span them across muliple tapes. I know tar -M can span, but it won't compress and span. I'll take a look at ark, but will it do what I need?
 
Old 02-10-2003, 10:53 AM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Have you tried this:
Code:
tar cvf - <file list> | gzip -vc9 > archive.tar.gz
or you could stream it from gzip onto your tape, depending on how things are set up...
 
Old 02-10-2003, 01:20 PM   #5
zymurgist
Member
 
Registered: Jan 2003
Location: Long Island
Distribution: Redhat 8.0
Posts: 109

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Dark_Helmet
Have you tried this:
Code:
tar cvf - <file list> | gzip -vc9 > archive.tar.gz
or you could stream it from gzip onto your tape, depending on how things are set up...
That would work on a single tape, as would "tar cvfz", but I need to span it across a few tapes.

Recap - I need to compress AND span about 50G of data to a few tapes (tape drive is /dev/ht0). I don't need a GUI, but it would be nice.

Any other tricks?
 
Old 02-10-2003, 01:50 PM   #6
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
My mistake. You said you didn't have the space to tar them and then zip them, and I focused on that. I thought sending it through gzip on-the-fly would compress it enough for you so it could reside on the drive before going to tape. If so, then you could use the split command before sending it to each tape.

The only other thing I could think of would be to write a shell script to break the library up into more manageable pieces. In other words, many small archives rather than a single gargantuan one.

Last edited by Dark_Helmet; 02-10-2003 at 02:12 PM.
 
Old 02-10-2003, 02:12 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
another 2Cents thrown in .... what compression do
you hope to gain zipping MP3? ;)

It's a highly optimized compression method in the
first place, and I doubt you'd gain more than 5%
anyway ...

Cheers,
Tink
 
Old 02-10-2003, 02:39 PM   #8
zymurgist
Member
 
Registered: Jan 2003
Location: Long Island
Distribution: Redhat 8.0
Posts: 109

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
another 2Cents thrown in .... what compression do
you hope to gain zipping MP3?

It's a highly optimized compression method in the
first place, and I doubt you'd gain more than 5%
anyway ...

Cheers,
Tink
You know, thats a good point. I didn't even think of that. The TR-5 tapes are listed as 10G/20G (10 uncomressed, 20 compressed), so I assumed I would need to compress my files to get the 20G. I guess I'll have to buy more tapes.
 
Old 02-10-2003, 08:21 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by zymurgist
You know, thats a good point. I didn't even think of that. The TR-5 tapes are listed as 10G/20G (10 uncomressed, 20 compressed), so I assumed I would need to compress my files to get the 20G. I guess I'll have to buy more tapes.
Now that that's settled ... :)

tar -L 10000000 cvf /dev/tape/ /my/mp3/collection

;)

Cheers,
Tink
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Archiving naveenlinux SUSE / openSUSE 6 12-04-2005 04:51 PM
Archiving Email KenGr Linux - Networking 1 06-25-2005 10:24 PM
mail archiving methods selgip Linux - Software 3 03-01-2005 07:58 PM
archiving the logs ANU Linux - Software 1 11-26-2003 07:42 PM
Archiving theneoprotocol General 5 01-26-2002 03:24 PM

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

All times are GMT -5. The time now is 02:10 AM.

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