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, #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



121
122
123
124
# File 'lib/foreman_maintain/cli/backup_command.rb', line 121

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