Keywords: main

Subsections

- Full Restore from a Given JobId
- Source Address
- Show volume availability when doing restore
- Accurate estimate command

# New Features in Released Version 3.0.2

This chapter presents the new features added to the Released Bacula Version 3.0.2.

# Full Restore from a Given JobId

This feature allows selecting a single JobId and having Bacula automatically select all the other jobs that comprise a full backup up to and including the selected date (through JobId).

Assume we start with the following jobs:

    +-------+--------------+---------------------+-------+----------+------------+
    | jobid | client       | starttime           | level | jobfiles | jobbytes   |
    +-------+--------------+---------------------+-------+----------+------------
    | 6     | localhost-fd | 2009-07-15 11:45:49 | I     | 2        | 0          |
    | 5     | localhost-fd | 2009-07-15 11:45:45 | I     | 15       | 44143      |
    | 3     | localhost-fd | 2009-07-15 11:45:38 | I     | 1        | 10         |
    | 1     | localhost-fd | 2009-07-15 11:45:30 | F     | 1527     | 44143073   |
    +-------+--------------+---------------------+-------+----------+------------+

Below is an example of this new feature (which is number 12 in the menu).

    * restore
    To select the JobIds, you have the following choices:
         1: List last 20 Jobs run
         2: List Jobs where a given File is saved
    ...
        12: Select full restore to a specified Job date
        13: Cancel

    Select item:  (1-13): 12
    Enter JobId to get the state to restore: 5
    Selecting jobs to build the Full state at 2009-07-15 11:45:45
    You have selected the following JobIds: 1,3,5

    Building directory tree for JobId(s) 1,3,5 ...  +++++++++++++++++++
    1,444 files inserted into the tree.

This project was funded by Bacula Systems.

# Source Address

A feature has been added which allows the administrator to specify the address from which the Director and File daemons will establish connections. This may be used to simplify system configuration overhead when working in complex networks utilizing multi-homing and policy-routing.

To accomplish this, two new configuration directives have been implemented:

    FileDaemon {
      FDSourceAddress=10.0.1.20    # Always initiate connections from this address
    }

    Director {
      DirSourceAddress=10.0.1.10   # Always initiate connections from this address
    }

Simply adding specific host routes on the OS would have an undesirable side-effect: any application trying to contact the destination host would be forced to use the more specific route possibly diverting management traffic onto a backup VLAN. Instead of adding host routes for each client connected to a multi-homed backup server (for example where there are management and backup VLANs), one can use the new directives to specify a specific source address at the application level.

Additionally, this allows the simplification and abstraction of firewall rules when dealing with a Hot-Standby director or storage daemon configuration. The Hot-standby pair may share a CARP address, which connections must be sourced from, while system services listen and act from the unique interface addresses.

This project was funded by Collaborative Fusion, Inc.

# Show volume availability when doing restore

When doing a restore the selection dialog ends by displaying this screen:

      The job will require the following
       Volume(s)                 Storage(s)                SD Device(s)
       ===========================================================================
       *000741L3                  LTO-4                     LTO3
       *000866L3                  LTO-4                     LTO3
       *000765L3                  LTO-4                     LTO3
       *000764L3                  LTO-4                     LTO3
       *000756L3                  LTO-4                     LTO3
       *001759L3                  LTO-4                     LTO3
       *001763L3                  LTO-4                     LTO3
        001762L3                  LTO-4                     LTO3
        001767L3                  LTO-4                     LTO3

    Volumes marked with ``*'' are online (in the autochanger).

This should help speed up large restores by minimizing the time spent waiting for the operator to discover that he must change tapes in the library.

This project was funded by Bacula Systems.

# Accurate estimate command

The `estimate` command can now use the accurate code to detect changes and give a better estimation.

You can set the accurate behavior on the command line by using `accurate=yesno` or use the Job setting as default value.

    * estimate listing accurate=yes level=incremental job=BackupJob

This project was funded by Bacula Systems.