-
Notifications
You must be signed in to change notification settings - Fork 0
9. Re initializing the Catalog database
Renato Freitas edited this page Dec 20, 2019
·
5 revisions
TAKE CARE the commands that follow will delete/erase/remove/purge definitely without possibility of recover.
After you have did all your own tests, it's a good idea to re-initialize the bacula database, as root do:
systemctl stop bacula-dir.service ; systemctl stop bacula-sd.service ; systemctl stop bacula-fd.service
cd /opt/bacula/scripts
sudo -u postgres ./drop_bacula_tables
sudo -u postgres ./make_bacula_tables
sudo -u postgres ./grant_bacula_privileges
/opt/bacula/working/
In the directory above remove or move all its contents.
/opt/bacula/my/bkp/FullBackupPool
/opt/bacula/my/bkp/DifferentialBackupPool
/opt/bacula/my/bkp/IncrementalBackupPool
In the directories above remove or move all theirs contents.
systemctl start bacula-dir.service ; systemctl start bacula-sd.service ; systemctl start bacula-fd.service