Sha256: 217c3f52e1db2a5e689cdfe08bb959148389defff6065cd7e49bc56d94a0754d
Contents?: true
Size: 858 Bytes
Versions: 16
Compression:
Stored size: 858 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>] # 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; [:databases, :storages, :syncers, :encryptors, :compressors, :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.to_s[0..-2], entry)) %> <%= Backup::Template.new.result("cli/#{item.to_s[0..-2]}/#{entry}") %> <% end end end end %> end
Version data entries
16 entries across 16 versions & 1 rubygems