Share

Simplebackup

Tracker: Bugs

5 sconf backup session details Error - ID: 1798503
Last Update: Tracker Item Submitted ( mcclanex )

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 ) {


McClaneX ( mcclanex ) - 2007-09-20 02:21

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.