Posts Tagged ‘postgresql’

Mozy

Monday, October 20th, 2008

I’ve been trying out Mozy for backup for a while (the free version limited to 2GB of storage).

I recently upgraded to the mozyhome edition, it’s only 5$ each month for unlimited storage, but only for ONE computer.. And since I’m cheap and there is no Linux client, I just mirror the things from the server I have to back up in a directory on my windows PC (SVN repository, postgres database, web server config/logs/etc).

Uploading the initial data (22 GB) took around 3 days, but the incremental backups are much quicker.

I like that Mozy stores several versions of the file, so I can roll back to a specific date. They only save the different snapshots of files for a month, but for the important stuff I have SVN which lets me do unlimited rollbacks anyway.

update April 27th 2009
I recently managed to corrupt a 30 MB file and had to restore it. unlike the upload of the data, restoring it (downloading) was extremely fast, got around 6 MB/s download speed :)

update April June 6th 2011
Mozy stopped with the unlimited plans, making me get a 125gb plan at twice of what I paid before. So obviously I’m switching to CrashPlan when my mozy account expires. The Crashplan client is much better (allows it to also back up to a local drive, or at a friends computer), and they offer unlimited upload at the same price as mozy 50 GB.. They also have a family option that includes up to 10 computers. It also seems like you can install mozy on both your stationary computer and laptop, and have the laptop backup stuff to your stationary computer, which then backs up to the crashplan servers. Also Crashplan supports linux :)

Long weekend, of debugging..

Monday, May 12th, 2008

The last week I have been finishing up the online registration system for Nidarosilder, a local ferret show here in Trondheim that we are attending  in early September.


The system runs on jsp and postgresql and allows user to register, then they receive a password they use to log in. When logged in they enter their name and other info, and can add up to 20 ferrets. Also my friend Anne who organizes the show has a admin page where she can see all users/ferrets, and sorted displays to make it easier to set up the different classes for the show.

Seeing that the ferret system was ready thursday, I got to spend most of this long weekend (Dont have to work monday 12th because of some religion thingy) on my Startrek game.

I debugged the Research system, and had some problems with the object serialization between the server and the client (ObjectOutputStream.writeUnshared() only writes the ROOT object unshared.. I learned that the hard way). I also made the client show a counter that counts to next game turn, a animation that shows while downloading map data, I implemented the Order system, and now it is possible to move a starship.
Below you can see a federation fleet moving to sector 3:7 (the yellow dots show the path) :)

Thursday 22. I will be going to Austria with the people from work, so maybe then I will have the time to implement the build system when there =)

Bye bye tomcat

Tuesday, April 8th, 2008

I’ve been using tomcat for quite a couple of years now..

But when making working on a registration page for a “ferret show“, I got so goddamn fed up with two things:

1) Each time I recompiled some of the background Java stuff (beans + database manager) I had to restart the server after recompiling

2) OFTEN after recompiling, for no frakking reason whatsoever. Tomcat would bitch about being unable to find the postgresql driver, even though it was in the common/lib as well as the webapps lib directory..

The second issue would sometimes take 5-10 minutes of removing the file, moving it back, restarting the server, removing work/tmp dirs, before it suddenly and miraculously worked again.. So I finally had it, and downloaded Resin and had it up and running in a few minutes.. Copied over the webapps, and now everything works nicely, and I never have to restart the webserver.

I’ve had some experience with Resin from my previous workplace, using the java php implementation and the JMS system. And Resin seems to be pretty nice, and switching from Tomcat to Resin only took a few minutes.. Did not tweak the config much and set up SSH, that will have to wait for the weekend :)