Backups/Caos2
From Caos Linux Wiki
To configure a basic backup server
cAos-2 comes with a preconfigured Bacula backup server. This system is easy enough to managelocal single system backups on a seperate disk or partition, or managing a library and network clients. For this I will explain how to build a basic local backup server. Start with installing Bacula on your system:
yum install bacula
Once bacula has been installed, edit /etc/bacula/bacula-dir.conf to configure what Jobs are run, when they are run, and some other properties about the server. By default, it will backup / and /home on a weekly schedule. Next, you should edit /etc/bacula/bacula-sd.conf and configure the Archive Device. I usually set this to a directory on a seperate disk or parition. (MAKE SURE YOU CREATE THIS DIRECTORY ON YOUR FILE SYSTEM!).
Next you will need to start the services:
/etc/init.d/bacula-dir start /etc/init.d/bacula-fd start /etc/init.d/bacula-sd start
OR you can use the helper script in /etc/bacula:
/etc/bacula/bacula start
Lastly you can go into the backup console with the command bconsole. Your jobs will run according to the schedule but you can force a job to run immeadiatly by using the command run.
