Restore an index
You can restore an index by creating a new index from a backup or a collection.
Create a serverless index from a backup
Serverless index backups are in public preview and available only on Standard and Enterprise plans.
To create a serverless index from a backup, use the create_index
endpoint and provide a source_backup_id
parameter containing the ID of the backup from which you wish to create an index.
The new index can differ from the source index in name. However, the new index must be created in the same cloud provider and region, and have the same dimensions and similarity metric as the source index. The new index is queryable and writable.
To create a serverless index from a backup using the Pinecone console, take the following steps:
- Select your project.
- Go to Database > Backups.
- For the source index from which you want to create an index, click ellipsis (…) menu > View backups.
- For the backup you want to restore, click ellipsis (…) menu > Restore to index.
You cannot create a pod-based index from a backup of a serverless index.
Create a serverless index from a collection
You can migrate a pod-based index to serverless by creating a new serverless index from a collection. For more information, see Migrate a pod-based index to serverless.
Create a pod-based index from a collection
To create a pod-based index from a collection, use the create_index
endpoint and provide a source_collection
parameter containing the name of the collection from which you wish to create an index. The new index can differ from the original source index: the new index can have a different name, number of pods, or pod type. The new index is queryable and writable.
Was this page helpful?