Skip to content

BackupOptions

[<Interface>]
type BackupOptions =
    abstract member progress: (BackupProgressInfo -> unit) option with get, set
    abstract member rate: float option with get, set
    abstract member source: string option with get, set
    abstract member target: string option with get, set
    static member Create (?source: string, ?target: string, ?rate: float, ?progress: (BackupProgressInfo -> unit)) : BackupOptions
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member progress: (BackupProgressInfo -> unit) option with get, set

An optional callback function that will be called after each backup step. The argument passed to this callback is an Object with remainingPages and totalPages properties, describing the current progress of the backup operation.

abstract member rate: float option with get, set

Number of pages to be transmitted in each batch of the backup.

abstract member source: string option with get, set

Name of the source database. This can be 'main' (the default primary database) or any other database that have been added with ATTACH DATABASE

abstract member target: string option with get, set

Name of the target database. This can be 'main' (the default primary database) or any other database that have been added with ATTACH DATABASE

Methods

static member Create (?source: string, ?target: string, ?rate: float, ?progress: (BackupProgressInfo -> unit)) : BackupOptions