Menu

#2 sconf backup session details Error

open
nobody
None
5
2007-09-20
2007-09-20
McClaneX
No

The cmd_list Sub seems to be calling the read_write_support_file function in what i suppose is an older version's way:

I changed this in the cmd_list Sub (8573):

# attempt to read the support file
if ( read_write_support_file(\%supp_managed_data, \%supp_backup_files, \%supp_backup_files_details, \%supp_full_list, 'read', 'none', \$supp_current_session, \$supp_session_date, \$supp_autosync_session, \$supp_autosync_date, \$supp_restore_count, \$supp_last_restore_date, \$supp_backup_host_os_p, $global_config_p, "") == 0 ) {

to this:

my %supp_general = ( # Support file general configuration (other configuration parts)
"write_counter" => "",
"current_session" => "",
"session_date" => "",
"autosync_session" => "",
"autosync_date" => "",
"restore_count" => "",
"last_restore_date" => "",
"last_restore_username" => "",
"backup_working" => "",
"backup_mode" => "",
"backup_host_os" => "", simplebackup)
"backup_real_host_os" => "",
"backup_os_name" => "",
"backup_username" => "",
);

# attempt to read the support file

if ( read_write_support_file (\%supp_managed_data, \%supp_backup_files, \%supp_backup_files_details, \%supp_full_list, \%supp_general, 'read', 'none', $global_config_p, "") == 0 ) {

Discussion


Log in to post a comment.