CA-110973: Use more efficient db backup when on the pool master

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #1489 from jonludlam/CA-110973

Use more efficient db backup when on the pool master