basalt / backup/src / PostgresBackup
Class: PostgresBackup
Defined in: backup/src/postgres.ts:70
Constructors
Constructor
> new PostgresBackup(options): PostgresBackup
Defined in: backup/src/postgres.ts:76
Parameters
options
Returns
PostgresBackup
Methods
create()
> create(target): Promise<BackupManifest>
Defined in: backup/src/postgres.ts:85
Parameters
target
Returns
Promise<BackupManifest>
createAllTenants()
> createAllTenants(tenancy, options?): Promise<BackupManifest[]>
Defined in: backup/src/postgres.ts:145
Parameters
tenancy
options?
concurrency?
number
schema?
boolean
Returns
Promise<BackupManifest[]>
list()
> list(): Promise<BackupManifest[]>
Defined in: backup/src/postgres.ts:156
Returns
Promise<BackupManifest[]>
restore()
> restore(id, connectionUrl, options): Promise<void>
Defined in: backup/src/postgres.ts:175
Parameters
id
string
connectionUrl
string
options
Returns
Promise<void>