Graphorin API reference v0.14.0
Graphorin API reference / @graphorin/store-sqlite-encrypted / / BackupEncryptedDatabaseOptions
Interface: BackupEncryptedDatabaseOptions
Defined in: packages/store-sqlite-encrypted/src/backup.ts:85
Stable
Options for backupEncryptedDatabase.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
cipher? | readonly | EncryptionCipher | Cipher selection. Default 'sqlcipher'. | packages/store-sqlite-encrypted/src/backup.ts:93 |
destPath | readonly | string | Destination path for the backup copy (overwritten if present). | packages/store-sqlite-encrypted/src/backup.ts:89 |
passphrase | readonly | string | Buffer<ArrayBufferLike> | Passphrase the DB is encrypted with. | packages/store-sqlite-encrypted/src/backup.ts:91 |
sourcePath | readonly | string | Path to the encrypted source DB. | packages/store-sqlite-encrypted/src/backup.ts:87 |