Use more efficient db backup when on the pool master

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>