Class: ForemanMaintain::Cli::OfflineBackupCommand

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, completion_map, completion_types, dashize, #dashize, delete_duplicate_assumeyes_if_any, interactive_option, label_option, #label_string, option, #option_wrapper, parameter, #print_check_info, #reporter, #run_scenario, #run_scenarios_and_exit, service_options, subcommand, #tag_string, tags_option, #underscorize

Methods included from ForemanMaintain::Concerns::Logger

#logger

Methods included from ForemanMaintain::Concerns::Finders

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

Instance Method Details

#executeObject



124
125
126
127
# File 'lib/foreman_maintain/cli/backup_command.rb', line 124

def execute
  perform_backup(:offline,
                 :include_db_dumps => include_db_dumps?)
end