X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=inline;f=bin%2FBackupPC_tarIncCreate;h=a76e439fd35ada547a487909d1cee5b2e14cb2db;hb=6e361dfbcfd712fd68d507a90cf3a0b5f7a089cd;hp=3cad08f772af206c3508ea17ed22dc4bc5f8aa01;hpb=9f0ea642edefd2f8b6ad9e9f4807e6ab03485da7;p=BackupPC.git diff --git a/bin/BackupPC_tarIncCreate b/bin/BackupPC_tarIncCreate index 3cad08f..a76e439 100755 --- a/bin/BackupPC_tarIncCreate +++ b/bin/BackupPC_tarIncCreate @@ -196,7 +196,7 @@ my(%HardLinkExtraFiles, @HardLinks); # Write out all the requested files/directories # -my $max_file_size = $Conf{'MaxArchiveFileSize'} || die "problem with MaxArchiveFileSize parametar"; +my $max_file_size = $Conf{'ArchiveChunkSize'} || die "problem with MaxArchiveFileSize parametar"; my $tar_dir = $Conf{GzipTempDir}; die "problem with $tar_dir, check GzipTempDir in configuration\n" unless (-d $tar_dir && -w $tar_dir); @@ -657,7 +657,7 @@ sub TarWriteFile my $size = $in_backup_increment->{$tarPath}; return unless (defined($size)); - # is this file too large to fit into MaxArchiveFileSize? + # is this file too large to fit into ArchiveChunkSize? if ( ($current_tar_size + tar_overhead($tarPath) + $size) > $max_file_size ) { print STDERR "# tar file $current_tar_size + $tar_header_length + $size > $max_file_size, splitting\n" if ($opts{d});