Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HerobackDump

Hierarchy

  • HerobackDump

Index

Constructors

constructor

Properties

Protected exporter

Protected logger

logger: LoggerInstance

options

Protected provider

Protected timestamp

timestamp: Date

Accessors

fileName

  • get fileName(): string
  • Gets a generated filename for this dump instance.

    Returns string

Methods

export

  • Dumps and exports the results.

    Parameters

    Returns Promise<Utils.InputStream>

raw

  • raw(): Promise<string>
  • Dumps as a raw string. This is meant for development purposes, may be bad for overall perfomance.

    Returns Promise<string>

run

  • run(): Promise<ChildProcess>
  • Spawns a child process and dumps requested database. This methods returns the child process instance itself without any heroback logics wrapped yet, and is mostly used internally.
    For a higher level interface, check dump.export() and dump.raw().

    Returns Promise<ChildProcess>

Static Private initializeExporter

Static Private initializeProvider

Generated using TypeDoc