Restoring repository