cryan's blog

 

cryan's picture

xTuple/Postbooks+MSVC is as easy as 1,2,3

No jelly beansHave you ever considered compiling xTuple/PostBooks on Windows? Perhaps you tried to set up an environment for our last Bug Derby and ran into problems. Sometimes getting things to work correctly requires arcane rituals or absurdly ridiculous actions. Please don't ask me why I have a jellybean stuck to my forehead. It doesn't have to be that way, and I'm here to share my latest experiences with you. When you're done following the instructions below, you'll have a development environment you can use for our up-coming Bug Derby.

Before we get started, let me set your mind at ease. This is not a technical document with a lot of boring, hard to understand commands. Setting up the environment for compiling is literally as easy as 1, 2, 3. Once we have the environment set up we can then get the source code to compile. That is also as easy as 1, 2, 3. Ok I cheated a little on my counting to get the 1, 2, 3; I think it may be the jelly bean. Nothing fancy. No magic.

Ready? Read more »

cryan's picture

PostgreSQL: Backing up your data

Backups can be one of the most critical aspects of administering any database, and PostgreSQL is no exception. While the PostgreSQL database is very versatile and resilient, problems can happen. A power failure could occur at worst moment corrupting the database or the hard-drive could fail. You could also have problems with users, authorized or unauthorized, changing or destroying data, we hope by accident, but sometimes malicious people can do bad things when presented the opportunity.

The list really could be limitless, but if you're following ERP Best Practices, then you know the best way to protect yourself is to make regular backups of your database. The depth of the situation you want to safeguard against can dictate your requirements for how often, when, where you store your backups. The first thing is make regular backups. The second is to store them in a safe place. If you are storing your backups on the same server you run your database on it's possible you could lose your database and your backups if the drive fails. Read more »

cryan's picture

PostgreSQL: Making it listen and trust

PostgreSQL is one of the easiest and best databases to set up. When compiling from sources it requires little to no dependencies and often a 'configure; make; make install' is sufficient to get it installed. Over the years it's gotten even easier with RPM's and Windows installers. Typically managing a server instance is just as easy. Despite all this there are some things that can make people stumble if you do not know why it is not working or how to change it. Read more »

 

Syndicate content