@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
20 lines (19 loc) • 630 B
TypeScript
import { BackupModel, ManageIndexesApi } from '../pinecone-generated-ts-fetch/db_control';
/**
* The options for creating an index backup.
*/
export interface CreateBackupOptions {
/**
* The name of the index to back up.
*/
indexName: string;
/**
* An optional name for the backup. If not provided, one will be auto-generated.
*/
name?: string;
/**
* A human-readable description of the backup's purpose or contents.
*/
description?: string;
}
export declare const createBackup: (api: ManageIndexesApi) => (createBackupOptions: CreateBackupOptions) => Promise<BackupModel>;