Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bacula [2017/04/25 11:16] (current)
Line 1: Line 1:
 +====== Bacula ======
 +
 +=== Resetting Bacula (SQLite3, Debian) ===
 +
 +Login or su to root.
 +
 +Stop the running Bacula processes.
 +
 +''/​etc/​init.d/​bacula-dir stop''​
 +
 +''/​etc/​init.d/​bacula-sd stop''​
 +
 +''/​etc/​init.d/​bacula-fd stop''​
 +
 +Change to the Bacula install directory, and delete the contents (the database is here, amongst other things).
 +
 +''​cd /​var/​lib/​bacula''​
 +
 +''​rm *''​
 +
 +Change to the Bacula backup storage directory, and clear it out.
 +
 +''​cd /​var/​bacula-data/​backup''​
 +
 +''​rm *''​
 +
 +Run the package reconfiguration tool which will re-create an empty SQLite3 database.
 +
 +''​dpkg-reconfigure bacula-director-sqlite3''​
 +
 +[Yes]
 +
 +Restart the Bacula processes.
 +
 +''/​etc/​init.d/​bacula-fd start''​
 +
 +''/​etc/​init.d/​bacula-sd start''​
 +
 +''/​etc/​init.d/​bacula-dir start''​
  
  • bacula.txt
  • Last modified: 2017/04/25 11:16
  • by voxx