Class: ForemanMaintain::Cli::SnapshotBackupCommand

Inherits:
Base
  • Object
show all
Includes:
BackupCommon
Defined in:
lib/foreman_maintain/cli/backup_command.rb

Instance Attribute Summary

Attributes inherited from Base

#runner

Instance Method Summary collapse

Methods included from BackupCommon

#backup_dir, #backup_subdir, included, #perform_backup, #timestamp

Methods inherited from Base

#available_checks, #available_procedures, #available_tags, available_tags, #dashize, dashize, delete_duplicate_assumeyes_if_any, interactive_option, label_option, #label_string, option, #option_wrapper, #print_check_info, #reporter, #run_scenario, service_options, #tag_string, tags_option, #underscorize

Methods included from ForemanMaintain::Concerns::Finders

#check, #detector, #feature, #find_all_scenarios, #find_checks, #find_procedures, #find_scenarios, #procedure

Instance Method Details

#executeObject



142
143
144
145
146
# File 'lib/foreman_maintain/cli/backup_command.rb', line 142

def execute
  perform_backup(:snapshot,
                 :snapshot_mount_dir => snapshot_mount_dir,
                 :snapshot_block_size => snapshot_block_size)
end