MDL-32862 Rewriting resource_old links on backup