Sha256: 040f9e5fd8b53d19f12d8abc07d9b524433a930e74813d969bbe210e7ab14b1b

Contents?: true

Size: 932 Bytes

Versions: 49

Compression:

Stored size: 932 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://backup.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

49 entries across 49 versions & 9 rubygems

Version Path
backup-ssh-4.4.5 templates/cli/model
backup-5.0.0.beta.3 templates/cli/model
backup-remote-0.0.19 templates/cli/model
backupii-0.1.0.pre.alpha.1 templates/cli/model
cm-backup-1.0.0 templates/cli/model
backedup-5.0.0.beta.5 templates/cli/model
backedup-5.0.0.beta.4 templates/cli/model
backedup-5.0.0.beta.3 templates/cli/model
ext_backup-5.0.0.beta.2.1 templates/cli/model
backup-ssh-4.4.4 templates/cli/model
backup-ssh-4.4.3 templates/cli/model
ext_backup-5.0.0.beta.2.ext.0.1.2 templates/cli/model
backup-4.4.1 templates/cli/model
ext_backup-5.0.0.beta.2.ext.0.1.1 templates/cli/model
ext_backup-5.0.0.beta.2.ext.0.1.0 templates/cli/model
backup-remote-0.0.18 templates/cli/model
backup-5.0.0.beta.2 templates/cli/model
backup-5.0.0.beta.1 templates/cli/model
backup-remote-0.0.17 templates/cli/model
backup-remote-0.0.16 templates/cli/model