Home > Welcome to the Bacula Enterprise Trial > Using Bacula Enterprise Trial > Scenario 3: Backing Up “All” Files on the Trial VM using bconsole

Scenario 3: Backing Up “All” Files on the Trial VM using bconsole

Bacula Enterprise provides users with the flexibility to customize their user interfaces according to their preferences, whether it is GUI (scenario 1 and 2), command line with bconsole, scripting, or API. This scenario demonstrates using bconsole, which is a Bacula command line administration tool used for manual backup tasks.

  1. To access bconsole, log in via SSH as “root” to your Bacula Enterprise Trial VM using “bacula” as the password.
  2. Type “bconsole” at the shell prompt to open bconsole:
  3. Type “status dir” to get an overview of Bacula’s current status, including details on scheduled jobs, running jobs and recently completed jobs. Note: Typing “messages” at this point would display recent log messages.
  4. Type “run” to enter the interactive job run dialog. You will then see a list of pre-configured jobs available to run.
  5. Enter “8” to select the job “Linux-Etc_To_Disk”. This will back up the local “/etc” directory to a disk storage device within Bacula.
  6. Once you have chosen the job, you have the option to review the backup settings and change any using the “mod” command. Type “mod” to access the job modification window. In this window, you can override all the default parameters for the job.
  7. To modify the job level, type “1”, and “1” again to change this to a “Full” backup job. Review the settings again, and type “yes” to initiate the backup job.
  8. Once the job starts, you will be directed to the bconsole prompt. The new jobid will be displayed for your reference. To view the log information for the ongoing job, type “messages”.
  9. When the job is finished, the “messages” command will display a successful backup job similar to the example provided below: