Module: SnapshotArchive

Defined in:
lib/snapshot_archive.rb,
lib/snapshot_archive/cfg.rb,
lib/snapshot_archive/cli.rb,
lib/snapshot_archive/shell.rb,
lib/snapshot_archive/stores.rb,
lib/snapshot_archive/version.rb,
lib/snapshot_archive/archives.rb,
lib/snapshot_archive/formatters.rb,
lib/snapshot_archive/repositories.rb

Defined Under Namespace

Modules: Archives, Formatters, Repositories, Stores Classes: Cfg, Cli, Error, Shell, StoreBuilder

Constant Summary collapse

DESCRIPTION =
<<~TEXT.chomp
  Save and restore snapshots of stateful services to a central archive. The
  default action is to backup all databases for the current rails apps,
  however, custom actions can easily be configured.

  See https://github.com/petekinnecom/snapshot_archive for the full README.
TEXT
VERSION =
"0.25.0"

Class Method Summary collapse

Class Method Details

.configure {|Cfg.instance| ... } ⇒ Object

Yields:

  • (Cfg.instance)


18
19
20
# File 'lib/snapshot_archive.rb', line 18

def configure
  yield(Cfg.instance)
end