Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/cli / / runStorageCleanupBackups

Function: runStorageCleanupBackups()

ts
function runStorageCleanupBackups(options?): Promise<StorageCleanupBackupsResult>;

Defined in: packages/cli/src/commands/storage.ts:291

Drop stale .bak, .bak.<ts>, and .tmp.<ts> siblings of the configured storage path. Useful after encrypt / rekey runs that leave intermediate copies around.

Parameters

ParameterType
optionsStorageCleanupBackupsOptions

Returns

Promise&lt;StorageCleanupBackupsResult&gt;

Stable