create_backup
- create_backup(
backup_name: string,
backup_type: string,
backup_objects_map: Record<string, string> | undefined,
datasink_name: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<CreateBackupResponse>Parameters
- backup_name: string
Name for this backup. If the backup already exists, only an incremental or differential backup can be made, unless recreate is set to true.
- backup_type: string
Type of snapshot to create.
- backup_objects_map: Record<string, string> | undefined
Map of objects to be captured in the backup; must be specified when creating a full snapshot and left unspecified when creating an incremental or differential snapshot.
- datasink_name: string
Data sink through which the backup will be stored.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateBackupResponse>
Promise<Types.CreateBackupResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:5418
- backup_name: string
create_backup_request
- create_backup_request(
request: CreateBackupRequest,
callback?: GPUdbCallback,
): Promise<CreateBackupResponse>Creates a database backup, containing a snapshot of existing objects, at the remote file store accessible via the data sink specified by
datasink_name.Parameters
- request: CreateBackupRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateBackupResponse>
Promise<Types.CreateBackupResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:5383
- request: CreateBackupRequest
Creates a database backup, containing a snapshot of existing objects, at the remote file store accessible via the data sink specified by
datasink_name.