added db backup functionality