Reset Bareos 18.2 on Fedora 29

Stop Bareos services:

# systemctl stop bareos-dir; systemctl stop bareos-fd; systemctl stop bareos-sd 

Remove files:

# rm -R /var/lib/bareos/storage/
# rm  /var/lib/bareos/*

Drop & create database

cd /usr/lib/bareos/scripts
./drop_bareos_database
./create_bareos_database
./make_bareos_tables
./grant_bareos_privileges

Restart Bareos services:

# systemctl start bareos-dir; systemctl start bareos-fd; systemctl start bareos-sd 

Make sure all three services started:

# netstat -an | grep :910
Tagged with: , , , , ,

Leave a Reply