Skip to content

basalt / backup/src / PostgresBackupOptions

Interface: PostgresBackupOptions ​

Defined in: backup/src/postgres.ts:42

Properties ​

clock? ​

> optional clock?: () => Date

Defined in: backup/src/postgres.ts:53

Returns ​

Date


connectionUrl ​

> connectionUrl: string

Defined in: backup/src/postgres.ts:43


disk ​

> disk: Disk

Defined in: backup/src/postgres.ts:44


logger? ​

> optional logger?: Logger

Defined in: backup/src/postgres.ts:51


pgDumpPath? ​

> optional pgDumpPath?: string

Defined in: backup/src/postgres.ts:46


pgRestorePath? ​

> optional pgRestorePath?: string

Defined in: backup/src/postgres.ts:47


prefix? ​

> optional prefix?: string

Defined in: backup/src/postgres.ts:45


retention? ​

> optional retention?: number

Defined in: backup/src/postgres.ts:50


runner? ​

> optional runner?: CommandRunner

Defined in: backup/src/postgres.ts:52


tenantDatabaseUrl? ​

> optional tenantDatabaseUrl?: (tenantId) => string | Promise<string>

Defined in: backup/src/postgres.ts:49

Parameters ​

tenantId ​

string

Returns ​

string | Promise<string>


tenantSchemaPrefix? ​

> optional tenantSchemaPrefix?: string

Defined in: backup/src/postgres.ts:48

Released under the MIT License.