Restoring media to repo