Module: OmaGem::DSL::Snapshot
- Included in:
- Config
- Defined in:
- lib/omagem/dsl/snapshot.rb
Overview
System snapshots via snapper.
Instance Method Summary collapse
Instance Method Details
#create_snapshot ⇒ Object
7 8 9 |
# File 'lib/omagem/dsl/snapshot.rb', line 7 def create_snapshot run('snapshot', 'create') end |
#restore_snapshot ⇒ Object
11 12 13 |
# File 'lib/omagem/dsl/snapshot.rb', line 11 def restore_snapshot run('snapshot', 'restore') end |