This feed contains pages in the "replies" category.

These posts contain replies to other posts.

After my post yesterday about locales and my problems, I got some comments.

Bryan, Simon and Wouter all pointed out what eventually figured out too but didn't mention in the post (I actually had to re-read the post to see what I wrote) that LC_ALL overrides all of the settings. Even though I figured it out eventually, with these comments it finally me that the purpose is actually to temporarily override the locale.

Another thing that didn't occur to me while figuring out the correct locale for my system was that I'm thinking about it all wrong. Since I've already gotten used to broken locales I kept thinking that I want en_US locale with some Finnish settings, but in reality I wanted fi_FI locale with English language. I have to admit that I was pretty sceptical about the solution but decided to try it out. And to my surprise, it actually worked!

So the final solution is this: LANG="fi_FI.UTF-8"
LANGUAGE="en"
LC_MESSAGES="en_US.UTF-8"
LC_TIME="en_US.UTF-8"

It is a pretty clean solution and I'm happy to live with it. And as Simon pointed out, administrator changes should be preserved through upgrades. If not, one should file a bug for it.

There we go, another problem solved. Thanks for the comments and suggestions.

Posted Wed Aug 6 00:01:27 2008 Tags: replies

Today I got to continue my quest for perfect backup. Today, I'm taking a look at duplicity. I also wanted to further investigate dibs, which I remember from a while back. Even though it has an interesting idea of backing up to a data pool in the internet, it doesn't fit my goals so I'll put more effort on duplicity and add it to my [[!list of features in backup solutions|2007/backup_comparison]].

Emacsen commented my previous [[!backup post|20070611_backup]]. He named 3 scenarios for backups: Human error, hardware failure and archival, and focused on the first 2. Even though snapshots are useful for many purposes, I wouldn't use them for backups. Human error is really the only case where they come in handy (when one considers using them as persistent snapshots). Using snapshots as a tool to speed up backups instead is a good idea.

In my case, I'm only preparing for hardware failure. Past experience has taught me that hardware will eventually fail. And with the increasing disk sizes the amount of data lost on hard disk failure keeps increasing too. I've had my share of hardware failures that caused me to loose data (directly or indirectly), so I'm focusing on it.

In the end, I don't make mistakes that make me loose data too often. I've learned from my past mistakes and use VCS (and now DVCS) when possible and sort my files properly to reduce the risk of making mistakes and running in to those "Oops!" situations.

Posted Wed Jun 13 22:07:25 2007 Tags: replies