warning: Creating default object from empty value in /home/davidfr/public_html/fromoz/modules/taxonomy/taxonomy.pages.inc on line 34.

Backing up my files under Linux

For the longest time I haven't been in control of backing up. I've done it, haphazardly, usually before I do something risky. Each time I have to relearn everything. Now I want to make it semi automatic.

1.) I went out and bought a nice big 1 TB external hard drive.
2.) I don't intend to keep the drive connected all the time. So the first thing I do when I want to backup is connect the drive. I'll do this by UUID since its a more reliable method. First I connect the drive. Next I type:

sudo vol_id /dev/sda1

and copy the volume ID of the drive. Then I issue:

Configuring Grip

So now I have switched over to Ubuntu I have to redo lots of things with new applications. Here is my grip configuration for ripping music.

Rip file format:
~/mp3/%A/%d/%n.wav (default I think)

Encoder command line:
-V2 --vbr-new -q0 --lowpass 19.7 --add-id3v2 --pad-id3v2 --ta "%a" --tt "%n" --tl "%d" --ty "%y" --tn "%t" %w %m
I may not totally understand what I am doing here. But the sound quality is great. Variable bitrate files are created. id3v2 tags are in the encoding string. Not sure if I really need these.

Encoder file format:

Mounting Drives Under Linux

Modify the /etc/fstab file. Probably better make a backup first.

You can add an entry /dev/xxxxx. But in some cases that designation might change. For example if you remove a drive, one fails or even some changes in the BIOS could probably do it. So I identified the drive by UUID. You can check the UUID with:

sudo vol_id /dev/sda1

Then you can add a line like this to mount the drive at boot:

UUID=8d947571-b0eb-42ab-b482-d4bb093a17c6 /media/sdb1 ext3 defaults 0 0

Switching Amarok to mysql

We keep our music on our tiny server. It works really well because Cassandra and I can both access it from our computers. I believe I could network it to our living room if I was willing to run a cable, but thats another story for another day.


About my PC hardware.

Processor: AMD Athalon 64X2 dual core processor.

Linux Desktop

Software installed on my PC
Started 2008-02-11 so will be incomplete.

2008-02-17 ImageMagick
Installed and added with apt-get install imagemagick
Installed it because component mogrify is required by jhead in order to create exif thumbnails in a jpeg image.

2008-02-11 Kopete
Installed and added:
MSN: davidfromoz at geemail dot com
Yahoo: davidfromtassie

2008-03-2 NFS
Test mounting of tiny's drives using nfs
install client: sudo apt-get install nfs-common

Syndicate content