merge and backup