Scenario 3: Backing up “all” files on the Trial VM using Bconsole
Bacula Enterprise offers user's the opportunity to mix and match user interfaces to the users preferences whether this be GUI (scenario 2), command line with bconsole, scripting, or API. This scenario demonstrates using bconsole, the Bacula command line administration tool, to perform a manual backup job.
- To access bconsole, ssh as root to your Bacula Enterprise Trial VM using “bacula” as the password.
- Type ‘bconsole’ at the shell prompt to open bconsole:
- Type status dir. This gives you an overview of the current status of Bacula including scheduled jobs, running jobs and recently completed jobs. Note: Typing ‘messages’ here will display recent log messages.
- Type ‘run’ to enter the interactive job run dialog. You will be presented a list of pre-configured jobs available to run.
- Enter ‘11’ to select the job ‘Linux-Etc_To_Disk’. This will backup the local ‘/etc’ directory to a disk storage device in Bacula.
- After selecting the job, you can review the backup settings and change any with the ‘mod’ command. Type ‘mod’ to bring up the job modification window. Here you can override all the default parameters for the job.
- Type ‘1’ to change the job level, and ‘1’ again to change this to a ‘Full’ backup job. Review the settings again, and type ‘yes’ to begin the backup job.
- The job will start and you will return to the bconsole prompt. You should see the new jobid indicated. Typing messages will show you the log information for the running job.
- When the job is finished, the ‘messages’ command should show a successful backup job like the one shown below: