Sha256: c02b5ce150695d189e292f7953547b559f81dd741eacfd26b6552a69d06967a1
Contents?: true
Size: 942 Bytes
Versions: 1
Compression:
Stored size: 942 Bytes
Contents
# encoding: utf-8 ## # BackupII Generated: <%= @options[:trigger] %> # Once configured, you can run the backup with the following command: # # $ backupii perform -t <%= @options[:trigger] %> [-c <path_to_configuration_file>] # # For more information about BackupII's components, see the documentation at: # http://backupii.github.io/backupii # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
backupii-0.1.0.pre.alpha.2 | templates/cli/model |