Sha256: 433fb54112615402562190cea10f4d1e7472933221823917f9d38223d7e1bdb8

Contents?: true

Size: 427 Bytes

Versions: 6

Compression:

Stored size: 427 Bytes

Contents

# frozen_string_literal: true

repository "tmp/repository"

password "password"

before do
  logger.info(self, "BEFORE")
end

backup do
  one_fs!

  before do |exists|
    logger.info(self, "BEFORE BACKUP #{exists}")
  end

  after do
    logger.info(self, "AFTER BACKUP")
  end

  backup "lib"
  exclude "lib/rustic"
end

after do
  logger.info(self, "AFTER")
end

on_error do |error|
  logger.warn(self, "ERROR:", error)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rustic-0.4.0 rustic_script.rb
rustic-0.3.3 rustic_script.rb
rustic-0.3.2 rustic_script.rb
rustic-0.3.1 rustic_script.rb
rustic-0.3.0 rustic_script.rb
rustic-0.1.0 rustic.rb