Difference between revisions of "Bacula and Bareos"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(Links)
(Configure On CentOS 6.5)
Line 34: Line 34:
 
  wget ftp5.gwdg.de/pub/opensuse/repositories/home:/pstorz/CentOS_CentOS-6/x86_64/vchanger-0.8.6-10.3.x86_64.rpm
 
  wget ftp5.gwdg.de/pub/opensuse/repositories/home:/pstorz/CentOS_CentOS-6/x86_64/vchanger-0.8.6-10.3.x86_64.rpm
 
  yum install vchanger-0.8.6-10.3.x86_64.rpm
 
  yum install vchanger-0.8.6-10.3.x86_64.rpm
 +
I am going to start with one drive so first I am going to format it:
 +
mke2fs -t ext4 -O large_file /dev/xvdc
  
 
==Links==
 
==Links==
Line 40: Line 42:
 
*http://wiki.bacula.org/doku.php?id=removable_disk#vchanger
 
*http://wiki.bacula.org/doku.php?id=removable_disk#vchanger
 
*http://superuser.com/questions/573816/how-do-i-configure-yum-to-use-additional-repositories
 
*http://superuser.com/questions/573816/how-do-i-configure-yum-to-use-additional-repositories
 +
*disk-changer vs vchanger:  https://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg55905.html

Revision as of 14:56, 3 March 2014

CentOS 6.5 Install

yum install mysql-server mysql-devel
service mysqld start
chkconfig mysqld on
mysqladmin -u root password Y0uR3l173P455w0rd


yum  install bareos-database-mysql
yum  install bareos


/usr/lib/bareos/scripts/create_bareos_database -u root -p
/usr/lib/bareos/scripts/make_bareos_tables -u root -p
/usr/lib/bareos/scripts/grant_bareos_privileges -u root -p


service bareos-dir start
service bareos-sd start
service bareos-fd start

Links

Archlinux GUI Admin

yaourt bareos-bat

Configure On CentOS 6.5

Since I use disks I start with installing vchanger

The link above has a script but it looks like the one on sourceforge (which is referenced in the link) is newer and compiles. Even then, I decided to pull the rpm from pbone

wget ftp5.gwdg.de/pub/opensuse/repositories/home:/pstorz/CentOS_CentOS-6/x86_64/vchanger-0.8.6-10.3.x86_64.rpm
yum install vchanger-0.8.6-10.3.x86_64.rpm

I am going to start with one drive so first I am going to format it:

mke2fs -t ext4 -O large_file /dev/xvdc

Links