Recreate the repository