"Fossies" - the Fresh Open Source Software Archive

Member "fsbackup-1.2pl2/contrib/restore_path/fsbackup.patch" (27 May 2005, 886 Bytes) of package /linux/privat/old/fsbackup-1.2pl2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 --- fsbackup.pl.orig    Fri May 27 16:10:18 2005
    2 +++ fsbackup.pl Thu May 26 20:40:26 2005
    3 @@ -443,6 +443,7 @@ if ( $cfg_type eq "local"){
    4     # Обрабатываем разбиение на тома
    5     for ($arc_block_level=0; $arc_block_level <= $#volume_position; $arc_block_level++){
    6         my $tmp_list_file = crate_tmp_list($arc_block_level, $volume_position[$arc_block_level], $volume_position[$arc_block_level+1], "$cfg_cache_dir/$cfg_backup_name/$cfg_backup_name.list");
    7 +       system( "cat $tmp_list_file | $prog_ssh -l $cfg_remote_login $cfg_remote_host 'cat - > $cfg_remote_path/$backup_file_base-$arc_block_level.tlist'");
    8              system( "$prog_tar -c -f - -T $tmp_list_file $prog_gzip_filter $prog_pgp_filter| $prog_ssh -l $cfg_remote_login $cfg_remote_host 'cat - > $cfg_remote_path/$backup_file_base-$arc_block_level.tar${arc_ext}'") == 0 || print "SSH connection failed (tar): $?\n";
    9     }
   10      }
   11