Re: [SlimDevices: Unix] Working on optical disc backup script

2009-09-11 Thread JJZolx

maggior;457441 Wrote: 
> I guess I didn't forsee <$99 1TB external drives in the near future :-).

I count 20 on http://www.newegg.com, starting at $85.99.


-- 
JJZolx

Jim

JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=67774

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Working on optical disc backup script

2009-09-11 Thread maggior

JJZolx;457399 Wrote: 
> I think you'd have to be a masochist to want to backup a large library
> to DVD.  But I suppose if someone died and left you a giant pile of
> DVD-Rs, then what the hell.

Nobody left them to me - I bought them all when they were on sale
throughout the years.  I guess I didn't forsee <$99 1TB external drives
in the near future :-).

To do it manually, yes, you have to be a masochist.  This is why I
decided to write this script to provide some automation.

JJZolx;457399 Wrote: 
> I've had backup hard drives fail.  You don't lose anything because it's
> a BACKUP.  You get another one and you backup your data again.  If
> you're _really_ paranoid, keep two backups.

I guess what I'm looking at here is more of an archive than a backup. 
This is not something I would want to do a rapid restore from in case of
a failed drive.  I will probably get 1TB USB drives for backup purposes.
I do like the idea of having all of my FLACS from my music library
archived on media other than a hard drive.


-- 
maggior

Rich
-
Setup: 2 SB3s, 3 Booms, 1 duet, 1 receiver.  SuSE 11.0 Server running
SqueezeCenter 7.3.3, MusicIP, and SqueezeSlave.  
Current library stats: 27,698 songs, 2,304 albums, 439 artists.
http://www.last.fm/user/maggior
Looking forward to new Porcupine Tree, Megadeth, Alice in Chains, and
The Beatles Box set.  September will be an expensive month :-)

maggior's Profile: http://forums.slimdevices.com/member.php?userid=9080
View this thread: http://forums.slimdevices.com/showthread.php?t=67774

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Working on optical disc backup script

2009-09-11 Thread Pat Farrell
maggior wrote:
> I currently have a work-in-progress set of Perl scripts to automate the
> backing up of a music library to DVD or any other removable media (BD,
> DVD-DL, etc.).


I agree with JJ here, too much  masochism for me.

I have ~810 albums, all in flac. Assume that the flac compression makes
one CD take 333 MB, or 3 CDs per GB. Thus we have 270 GB of music to
back up.

I would be unwilling to do that even if they were BlueRay and you could
put 27GB on each. That would take ten disks in the
insert/burn/remove/label shuffle.

With a 500GB disk selling for well under $100, just use rsync

-- 
Pat Farrell
http://www.pfarrell.com/

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Working on optical disc backup script

2009-09-11 Thread JJZolx

maggior;457383 Wrote: 
> What are your thoughts on this project?

I think you'd have to be a masochist to want to backup a large library
to DVD.  But I suppose if someone died and left you a giant pile of
DVD-Rs, then what the hell.

> Though external hard drives are attractive due to ease-of-backup, I
> worry about the amount of data loss if one were to fail.

I've had backup hard drives fail.  You don't lose anything because it's
a BACKUP.  You get another one and you backup your data again.  If
you're _really_ paranoid, keep two backups.


-- 
JJZolx

Jim

JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=67774

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] SC unable to see music library

2009-09-11 Thread cphan

Thanks gharris999, the edit to fstab did the trick.


-- 
cphan

Living room: SB3 >> Alesis M1 Active
Bedroom: Boombox

cphan's Profile: http://forums.slimdevices.com/member.php?userid=14522
View this thread: http://forums.slimdevices.com/showthread.php?t=66935

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] Working on optical disc backup script

2009-09-11 Thread maggior

I currently have a work-in-progress set of Perl scripts to automate the
backing up of a music library to DVD or any other removable media (BD,
DVD-DL, etc.).  Given that there has been some interest in Moonbase's
project to do backups to hard discs
(http://forums.slimdevices.com/showthread.php?t=67153), I thought
perhaps there would be some interest in something like I am working on.

My motivation:
=
I've recently made huge additions to my music library as I finally got
around to ripping the last half of my music collection.  My habit has
been to backup my FLACs to DVDs.  Even though external drives have
gotten rediculously cheap, I have a huge stock of blank DVDs that I
should use.  Though external hard drives are attractive due to
ease-of-backup, I worry about the amount of data loss if one were to
fail.  Also, I have tons of DVDs to use, so I should use them.

I dreaded the task of sitting in front of Nero and dragging folders in,
burn the discs, keep track of what I burned, etc.  Time is at a bit of a
premium for me now, so I can't afford to deal with all of that tedium.

So...I thought it would be cool to automate the process somehow.  I did
some research on available command line tools on Linux and found
something called growisofs.  I played with it a bit and it works quite
well.  Discs that I back up are readable on my Linux machines, my Vista
machine, and my XP machines.  It supports burning ISO9660:1999 images,
so most any filename and directory structures will work.  I don't plan
on trying to read my discs with DOS, Windows NT, or anything of that
vintage, so I don't think this will be a problem.


The Implementation (so far):
===
I chose to write my script(s) in Perl, mainly because I want to become
more proficient with it.  This is very much a prototype at this point
and everything is handled by a series of scripts that generate file
outupt that is used by another scirpt.  Here is what my scripts do at
this point:

- The music directory structure is scanned and total storage size is
computed for each sub-directory (presumably making up an album).  This
information is output to a file.  Date critera can be specified to go
back only to a certain date.  I may add other criteria as needed.

- The file is then parsed and "burn projects" are built based on a
maximum storage capacity specified for the backup device.  Currently,
the script can't deal with an "album" that iself is larger than the size
of a disc.  The fact is flagged to the user can deal with it another
way.  Attempts are made to maximize the storage by searching for smaller
albums that might fit in the remaining space on the disc.  Another file
is generated with the project information.

- This file is then parsed and a command line to growisofs is built up
and executed.  The backup device is hard coded.  I will implement a
verification procedure using md5 sums.  This will have a dependency on
the auto mount point of the backup device.

- Finally, I have completed a script that will take one of the project
file used by the burn script and lay out on a page lables that can be
cut out to put in your binder.  4 labels are printed on a page which can
then be cut out.  This is very specific to how I do things.


Once I have this cleaned up a bit, I can make the code available to
those that might be interested.  At this time, I'm working mainly to my
specific needs and haven't generalized much.  This could change
depending on interest.  I do hope to bring the various scripts into a
single one.  I like the idea of having the data committed to files
because it makes it easier to go back and pick up where you left off. 
For instance, I currently have about 60 DVDs worth of data to backup.  I
certainly don't plan on doing that in one sitting :-).

What are your thoughts on this project?

Thanks,


-- 
maggior

Rich
-
Setup: 2 SB3s, 3 Booms, 1 duet, 1 receiver.  SuSE 11.0 Server running
SqueezeCenter 7.3.3, MusicIP, and SqueezeSlave.  
Current library stats: 27,698 songs, 2,304 albums, 439 artists.
http://www.last.fm/user/maggior
Looking forward to new Porcupine Tree, Megadeth, Alice in Chains, and
The Beatles Box set.  September will be an expensive month :-)

maggior's Profile: http://forums.slimdevices.com/member.php?userid=9080
View this thread: http://forums.slimdevices.com/showthread.php?t=67774

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Problems with new Ubuntu 9.04 install

2009-09-11 Thread Jonathan Russell

Under Advanced-File Types, I changed the wav settings to disable flac
stream format. All works now with my wav files.


-- 
Jonathan Russell

Jonathan Russell's Profile: 
http://forums.slimdevices.com/member.php?userid=32748
View this thread: http://forums.slimdevices.com/showthread.php?t=65608

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Problems with new Ubuntu 9.04 install

2009-09-11 Thread Jonathan Russell

When I try and play a flac file I get no sound the name of the track comes up 
(so it scanned the library ok) the time bar up the top shows up but does not 
move, then the sb3 cycles rapidly through all the tracks in the directory in 
rapid time, but no sound.[/QUOTE Wrote: 
> 
> 
> Sorry to revisit an old post but I have the exact same problem as the
> original poster. During this thread, we learned that the original poster
> was actually trying to play wav files. I am trying to play wav files and
> get the exact same symptom- sb3 and the squeezecenter library cycle thru
> sogns but never play them. I am able to play mp3 files if I include them
> in the library. I am using ubuntu 9.04 and squeezecenter 7.3.3.
> 
> Any ideas?
> 
> Thanks.


-- 
Jonathan Russell

Jonathan Russell's Profile: 
http://forums.slimdevices.com/member.php?userid=32748
View this thread: http://forums.slimdevices.com/showthread.php?t=65608

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix