MDL-32862 Backup: Rewriting resource_old links on backup