MDL-31333 backup: reintroduce missing function lost by MDL-30610