Sha256: 740bf6ee2bec63fc02ed91f7a11883bc474a671d8b216086c3ff2a72fb959b48

Contents?: true

Size: 937 Bytes

Versions: 21

Compression:

Stored size: 937 Bytes

Contents

# encoding: utf-8

##
# Backup Generated: <%= @options[:trigger] %>
# Once configured, you can run the backup with the following command:
#
# $ backup perform -t <%= @options[:trigger] %> [-c <path_to_configuration_file>]
#
# For more information about Backup's components, see the documentation at:
# http://meskyanichi.github.io/backup
#
Model.new(:<%= @options[:trigger] %>, 'Description for <%= @options[:trigger] %>') do
<% if @options[:splitter] %>
<%= Backup::Template.new.result('cli/splitter') %>
<% end; if @options[:archives] %>
<%= Backup::Template.new.result('cli/archive') %>
<% end; %w{ databases storages syncers encryptor compressor notifiers }.each do |item|
  if @options[item]
    @options[item].split(',').map(&:strip).uniq.each do |entry|
      if File.exist?(File.join(Backup::TEMPLATE_PATH, 'cli', item, entry)) %>
<%= Backup::Template.new.result("cli/#{ item }/#{ entry }") %>
<%    end
    end
  end
end %>
end

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
backup-4.1.8 templates/cli/model
backup-4.1.7 templates/cli/model
backup-4.1.6 templates/cli/model
backup-4.1.5 templates/cli/model
backup-4.1.4 templates/cli/model
backup-4.1.3 templates/cli/model
venet-backup-4.1.3 templates/cli/model
backup-4.1.2 templates/cli/model
backup-4.1.1 templates/cli/model
backup-4.1.0 templates/cli/model
backup-4.0.7 templates/cli/model
backup-4.0.6 templates/cli/model
backup-4.0.5 templates/cli/model
backup-4.0.4 templates/cli/model
backup_zh-4.0.3.1 templates/cli/model
backup-4.0.3 templates/cli/model
backup-4.0.2 templates/cli/model
nfm-backup-4.0.1a templates/cli/model
backup-4.0.1 templates/cli/model
backup-4.0.0 templates/cli/model