Fixed db backup issues.