Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: install JS3tream and backup to Amazons S3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Skidd
n00b
n00b


Joined: 08 Dec 2005
Posts: 13
Location: San Antonio, TX

PostPosted: Thu Apr 24, 2008 9:48 pm    Post subject: HOWTO: install JS3tream and backup to Amazons S3 Reply with quote

JS3tream is a simple utility that bridges between TAR and Amazons S3 service. http://js3tream.sourceforge.net/

You'll need Java 1.5+ and JS3tream.

Install the Sun JVM/JDK
Code:

castle ~# emerge sun-jdk


You might need to ensure the 1.5+ JVM is the one enabled by default. Start by listing your installed JVMs
Code:

castle ~# java-config -L
1)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
*)      Sun JDK 1.5.0.11 [sun-jdk-1.5]


My system is already setup to use the sun 1.5 JVM. To chance the JVM system wide use
Code:
castle ~# java-config -S 2

Where 2 represents the ID of the JVM you wish to use.

You could also setup the JVM for your user only with
Code:
castle ~# java-config -s 2


You will need the zip/unzip utility to extract the JS3tream utility
Code:

castle ~# emerge unzip


Go to the JS3tream web site, and download the latest zip file. Extract this file to a directory of your choice. Eg /usr/local/bin
Code:

castle ~# cd /usr/local/bin
castle bin# unzip js3tream-0.6.2.zip


Test to make sure both java and JS3tream are correctly setup. Start by going to the directory you put JS3tream.
Code:

castle bin# cd /usr/local/bin


Make sure java is correctly installed. I happen to have 1.5.0.11
Code:

castle bin# java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)


Test that JS3tream can be executed.
Code:
castle bin# java -jar js3tream.jar --help
JS3tream v0.6 - December 17, 2007
Protected under the LGPL
Copyright (c) Shane Powell 2007
http://js3tream.sourceforge.net


At this point JS3tream should be correctly installed. Now, it's simply a matter of following the examples and howtos on the JS3tream web site.

I've been using JS3tream to backup my entire mp3, home movie and photograph collection for a little over a year now. Thankfully, I've only needed to restore some of my photos once.

Enjoy!
Shane.
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424

PostPosted: Fri Apr 25, 2008 11:37 pm    Post subject: Reply with quote

nice guide, thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum