Saturday, January 28, 2012

Add a new bacula client

To add a new client to bacula you have to let the director know the new client first. Go into the bacula configuration directory and add the client to the client resource: 

Friday, January 27, 2012

Creating a new bacula job

This time I want you to show how to create a new job within bacula to backup your files. In this article I will setup a job to backup /etc from my master server which is very easy. To do this go into the bacula configuration directory and edit the jobs resource file to add the new job: 

Thursday, January 26, 2012

Using a stand alone tape with bacula

This time I want you to show how to use a stand alone tape drive with bacula. I have a couple of DDS-3 tape drives which all work with Solaris 10 X86 and bacula. Before you begin you need to know the device file for your tape drive. Under Solaris use iostat:

# iostat -En
rmt/0            Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SONY     Product: SDT-9000         Revision: 0400 Serial No: 03/05/98

Sunday, January 22, 2012

Basic bacula installation and configuration

With this article I want you to show how to install bacula from source and how to create a basic configuration. The topics in this artice will be the following:

Install bacula from source under Solaris 10 x86
Create the bacula database under Slackware Linux 13.1
Configure the bacula director
Configure the bacula storage daemon
Configure the bacula file daemon
First start
Configure the bacula console
Run a backup job
Run a restore job

Saturday, January 21, 2012

mhvtl - Virtual Tape Library

A few days ago I discovered a pretty cool software for creating a virtual tape library. You can use the virtual tape library as a real library with the robot, drives, tapes etc. Best of all: the tapes are flat files within their own directory. That means that you can setup a HP MSL6000 tape library with 4 drives and 52 tapes and keeping the tape size at 50MB. With this article I want you to show the following:

Install mhvtl from source
Configure a virtual HP MSL6000 tape library
Perform a simple backup
mhvtl Web Gui

Wednesday, January 18, 2012

Slackware package and patch server

With this article I want you to show how to setup a package and patch server for Slackware. When you have multiple Slackware servers running and you need to install updates then every single server has to download each update from the internet:

Monday, January 9, 2012

Replacing tabs/spaces with expand/unexpand

To replace tabs with spaces in a text file use expand.
To replace spaces with tabs in a text file use unexpand. 

Friday, January 6, 2012

Fun with pam

With this article I want you to show how to use several more or less useful pam modules. This is not an explanation to pam in general. This article is also based on the the prior released LDAP articles for Slackware and Solaris. I didn't test all modules under Solaris or else but with some brain you should be able use them under any Unix too.
The following modules are currently described here:

pam_nologin: Deny user log in
pam_securetty: Deny root log in Deny log in after X failed log in attempts
pam_cracklib: Strengthen passwords

Tuesday, January 3, 2012

Available, used and free memory in AIX

Use lsattr to get the size of your memory:

# lsattr -E -l sys0 | grep realmem
realmem         32636928           Amount of usable physical memory in Kbytes        False

Monday, January 2, 2012

Joining text files

Sometimes I get a couple of text files with various data about the capacity of disks, memory etc. Here are two examples: