Your message dated Wed, 15 Mar 2017 11:27:44 +0100
with message-id <[email protected]>
and subject line Re: Bug#856588: backuppc: dist-upgrade wheezy to jessie broke 
backuppc CGI-interface
has caused the Debian Bug report #856588,
regarding backuppc: dist-upgrade wheezy to jessie broke backuppc CGI-interface
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
856588: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856588
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: backuppc
Version: 3.3.0-2+deb8u1
Severity: normal

Dear Maintainer,

Upgraded up-to-date Debian Wheezy to Jessie today. 
Answered use maintainer version for all questions 
about configuration files. 

After upgrade backuppc Web interface did not work. 
Other parts of backuppc seemed to be OK, 
Trash_clean started automatically and 
BackupPC_dump -v -f did start and reported no errors 
until I exited it. 

I quess the problem is the upgrade created file
/etc/apache2/conf.d/backuppc.conf, 
as a symlink to /etc/backuppc/apache.conf. 
I compared settings to a working BackupPC on 
a Jessie host I had installed from scratch. 

I got this fixed by
a2enconf backuppc
service apache2 reload

There was the file 
/etc/apache/conf-available/backuppc.conf, 
just a2enconf was missing.

My quess is the /etc/apache2/conf.d -directory 
should not exist.



-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages backuppc depends on:
ii  adduser                                    3.113+nmu3
ii  apache2 [httpd]                            2.4.10-10+deb8u8
ii  apache2-mpm-prefork [httpd]                2.4.10-10+deb8u8
ii  apache2-utils                              2.4.10-10+deb8u8
ii  bzip2                                      1.0.6-7+b3
ii  debconf [debconf-2.0]                      1.5.56
ii  dpkg                                       1.17.27
ii  exim4                                      4.84.2-2+deb8u3
ii  exim4-daemon-light [mail-transport-agent]  4.84.2-2+deb8u3
ii  iputils-ping                               3:20121221-5+b2
ii  libarchive-zip-perl                        1.39-1
ii  libc6                                      2.19-18+deb8u7
pn  libcompress-zlib-perl                      <none>
ii  libtime-modules-perl                       2013.1113-2
ii  libwww-perl                                6.08-1
ii  perl [libdigest-md5-perl]                  5.20.2-3+deb8u6
ii  samba-common-bin                           2:4.2.14+dfsg-0+deb8u2
ii  smbclient                                  2:4.2.14+dfsg-0+deb8u2
ii  tar                                        1.27.1-2+deb8u1
ii  ucf                                        3.0030

Versions of packages backuppc recommends:
ii  libfile-rsyncp-perl          0.70-1.1+b1
ii  libio-dirent-perl            0.05-1+b2
ii  openssh-client [ssh-client]  1:6.7p1-5+deb8u3
ii  rrdtool                      1.4.8-1.2
ii  rsync                        3.1.1-3

Versions of packages backuppc suggests:
pn  par2               <none>
ii  w3m [www-browser]  0.5.3-19+deb8u1

-- Configuration Files:
/etc/backuppc/config.pl changed:
$ENV{'PATH'} = '/bin:/usr/bin';
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
$Conf{ServerHost} = `hostname`;
chomp($Conf{ServerHost});
$Conf{ServerPort} = -1;
$Conf{ServerMesgSecret} = '';
$Conf{MyPath} = '/bin';
$Conf{UmaskMode} = 027;
$Conf{WakeupSchedule} = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 
17, 18, 19, 20, 21, 22, 23];
$Conf{MaxBackups} = 4;
$Conf{MaxUserBackups} = 4;
$Conf{MaxPendingCmds} = 15;
$Conf{CmdQueueNice} = 10;
$Conf{MaxBackupPCNightlyJobs} = 2;
$Conf{BackupPCNightlyPeriod} = 1;
$Conf{MaxOldLogFiles} = 14;
$Conf{DfPath} = '/bin/df';
$Conf{DfCmd} = '$dfPath $topDir';
$Conf{SplitPath} = '/usr/bin/split';
$Conf{ParPath}   = '/usr/bin/par2' if -x '/usr/bin/par2';
$Conf{CatPath}   = '/bin/cat';
$Conf{GzipPath}  = '/bin/gzip';
$Conf{Bzip2Path} = '/bin/bzip2';
$Conf{DfMaxUsagePct} = 95;
$Conf{TrashCleanSleepSec} = 300;
$Conf{DHCPAddressRanges} = [];
$Conf{BackupPCUser} = 'backuppc';
$Conf{TopDir}      = '/var/lib/backuppc';
$Conf{ConfDir}     = '/etc/backuppc';
$Conf{LogDir}      = '/var/lib/backuppc/log';
$Conf{InstallDir}  = '/usr/share/backuppc';
$Conf{CgiDir}      = '/usr/share/backuppc/cgi-bin';
$Conf{BackupPCUserVerify} = 1;
$Conf{HardLinkMax} = 31999;
$Conf{PerlModuleLoad}     = undef;
$Conf{ServerInitdPath} = '';
$Conf{ServerInitdStartCmd} = '';
$Conf{FullPeriod} = 6.97;
$Conf{IncrPeriod} = 0.97;
$Conf{FullKeepCnt} = 1;
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax}     = 90;
$Conf{IncrKeepCnt} = 6;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax}     = 30;
$Conf{IncrLevels} = [1];
$Conf{BackupsDisable} = 0;
$Conf{PartialAgeMax} = 3;
$Conf{IncrFill} = 0;
$Conf{RestoreInfoKeepCnt} = 10;
$Conf{ArchiveInfoKeepCnt} = 10;
$Conf{BackupFilesOnly} = undef;
$Conf{BackupFilesExclude} = undef;
$Conf{BlackoutBadPingLimit} = 3;
$Conf{BlackoutGoodCnt}      = 7;
$Conf{BlackoutPeriods} = [
    {
        hourBegin =>  7.0,
        hourEnd   => 19.5,
        weekDays  => [1, 2, 3, 4, 5],
    },
];
$Conf{BackupZeroFilesIsFatal} = 0;
$Conf{XferMethod} = 'smb';
$Conf{XferLogLevel} = 1;
$Conf{ClientCharset} = '';
$Conf{ClientCharsetLegacy} = 'iso-8859-1';
$Conf{SmbShareName} = 'C$';
$Conf{SmbShareUserName} = '';
$Conf{SmbSharePasswd} = '';
$Conf{SmbClientPath} = '/usr/bin/smbclient';
$Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName'
            . ' $I_option -U $userName -E -d 1'
            . ' -c tarmode\\ full -Tc$X_option - $fileList';
$Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName'
            . ' $I_option -U $userName -E -d 1'
            . ' -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
$Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName'
            . ' $I_option -U $userName -E -d 5'
            . ' -c tarmode\\ full -Tx -';
$Conf{TarShareName} = '/';
$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host'
                    . ' env LC_ALL=C $tarPath -c -v -f - -C $shareName+'
                    . ' --totals';
$Conf{TarFullArgs} = '$fileList+';
$Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';
$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host'
                   . ' env LC_ALL=C $tarPath -x -p --numeric-owner --same-owner'
                   . ' -v -f - -C $shareName+';
$Conf{TarClientPath} = '/bin/tar';
$Conf{RsyncClientPath} = '/usr/bin/rsync';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath 
$argList+';
$Conf{RsyncShareName} = '/';
$Conf{RsyncdClientPort} = 873;
$Conf{RsyncdUserName} = '';
$Conf{RsyncdPasswd} = '';
$Conf{RsyncdAuthRequired} = 1;
$Conf{RsyncCsumCacheVerifyProb} = 0.01;
$Conf{RsyncArgs} = [
            #
            # Do not edit these!
            #
            '--numeric-ids',
            '--perms',
            '--owner',
            '--group',
            '-D',
            '--links',
            '--hard-links',
            '--times',
            '--block-size=2048',
            '--recursive',
            #
            # Rsync >= 2.6.3 supports the --checksum-seed option
            # which allows rsync checksum caching on the server.
            # Uncomment this to enable rsync checksum caching if
            # you have a recent client rsync version and you want
            # to enable checksum caching.
            #
            #'--checksum-seed=32761',
];
$Conf{RsyncArgsExtra} = [];
$Conf{RsyncRestoreArgs} = [
            #
            # Do not edit these!
            #
            '--numeric-ids',
            '--perms',
            '--owner',
            '--group',
            '-D',
            '--links',
            '--hard-links',
            '--times',
            '--block-size=2048',
            '--relative',
            '--ignore-times',
            '--recursive',
            #
            # Rsync >= 2.6.3 supports the --checksum-seed option
            # which allows rsync checksum caching on the server.
            # Uncomment this to enable rsync checksum caching if
            # you have a recent client rsync version and you want
            # to enable checksum caching.
            #
            #'--checksum-seed=32761',
            #
            # Add additional arguments here
            #
];
$Conf{FtpShareName} = '';
$Conf{FtpUserName} = '';
$Conf{FtpPasswd} = '';
$Conf{FtpPassive} = 1;
$Conf{FtpBlockSize} = 10240;
$Conf{FtpPort} = 21;
$Conf{FtpTimeout} = 120;
$Conf{FtpFollowSymlinks} = 0;
$Conf{ArchiveDest} = '/tmp';
$Conf{ArchiveComp} = 'gzip';
$Conf{ArchivePar} = 0;
$Conf{ArchiveSplit} = 0;
$Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost'
        . ' $tarCreatePath $splitpath $parpath $host $backupnumber'
        . ' $compression $compext $splitsize $archiveloc $parfile *';
$Conf{SshPath} = '/usr/bin/ssh' if -x '/usr/bin/ssh';
$Conf{NmbLookupPath} = '/usr/bin/nmblookup';
$Conf{NmbLookupCmd} = '$nmbLookupPath -A $host';
$Conf{NmbLookupFindHostCmd} = '$nmbLookupPath $host';
$Conf{FixedIPNetBiosNameCheck} = 0;
$Conf{PingPath} = '/bin/ping';
$Conf{PingCmd} = '$pingPath -c 1 $host';
$Conf{PingMaxMsec} = 20;
$Conf{CompressLevel} = 3;
$Conf{ClientTimeout} = 72000;
$Conf{MaxOldPerPCLogFiles} = 12;
$Conf{DumpPreUserCmd}     = undef;
$Conf{DumpPostUserCmd}    = undef;
$Conf{DumpPreShareCmd}    = undef;
$Conf{DumpPostShareCmd}   = undef;
$Conf{RestorePreUserCmd}  = undef;
$Conf{RestorePostUserCmd} = undef;
$Conf{ArchivePreUserCmd}  = undef;
$Conf{ArchivePostUserCmd} = undef;
$Conf{UserCmdCheckStatus} = 0;
$Conf{ClientNameAlias} = undef;
$Conf{SendmailPath} = '/usr/sbin/sendmail';
$Conf{EMailNotifyMinDays} = 2.5;
$Conf{EMailFromUserName} = 'backuppc';
$Conf{EMailAdminUserName} = 'backuppc';
$Conf{EMailUserDestDomain} = '';
$Conf{EMailNoBackupEverSubj} = undef;
$Conf{EMailNoBackupEverMesg} = undef;
$Conf{EMailNotifyOldBackupDays} = 7.0;
$Conf{EMailNoBackupRecentSubj} = undef;
$Conf{EMailNoBackupRecentMesg} = undef;
$Conf{EMailNotifyOldOutlookDays} = 5.0;
$Conf{EMailOutlookBackupSubj} = undef;
$Conf{EMailOutlookBackupMesg} = undef;
$Conf{EMailHeaders} = <<EOF;
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
EOF
$Conf{CgiAdminUserGroup} = 'backuppc';
$Conf{CgiAdminUsers}     = 'backuppc';
$Conf{CgiURL} = 'http://'.$Conf{ServerHost}.'/backuppc/index.cgi';
$Conf{Language} = 'en';
$Conf{CgiUserHomePageCheck} = '';
$Conf{CgiUserUrlCreate}     = 'mailto:%s';
$Conf{CgiDateFormatMMDD} = 2;
$Conf{CgiNavBarAdminAllHosts} = 1;
$Conf{CgiSearchBoxEnable} = 1;
$Conf{CgiNavBarLinks} = [
    {
        link  => "?action=view&type=docs",
        lname => "Documentation",    # actually displays $Lang->{Documentation}
    },
    {
        link  => "http://backuppc.wiki.sourceforge.net";,
        name  => "Wiki",              # displays literal "Wiki"
    },
    {
        link  => "http://backuppc.sourceforge.net";,
        name  => "SourceForge",      # displays literal "SourceForge"
    },
];
$Conf{CgiStatusHilightColor} = {
    Reason_backup_failed           => '#ffcccc',
    Reason_backup_done             => '#ccffcc',
    Reason_no_ping                 => '#ffff99',
    Reason_backup_canceled_by_user => '#ff9900',
    Status_backup_in_progress      => '#66cc99',
    Disabled_OnlyManualBackups     => '#d1d1d1',   
    Disabled_AllBackupsDisabled    => '#d1d1d1',          
};
$Conf{CgiHeaders} = '<meta http-equiv="pragma" content="no-cache">';
$Conf{CgiImageDir} = '/usr/share/backuppc/image';
$Conf{CgiExt2ContentType} = { };
$Conf{CgiImageDirURL} = '/backuppc/image';
$Conf{CgiCSSFile} = 'BackupPC_stnd.css';
$Conf{CgiUserConfigEditEnable} = 1;
$Conf{CgiUserConfigEdit} = {
        FullPeriod                => 1,
        IncrPeriod                => 1,
        FullKeepCnt               => 1,
        FullKeepCntMin            => 1,
        FullAgeMax                => 1,
        IncrKeepCnt               => 1,
        IncrKeepCntMin            => 1,
        IncrAgeMax                => 1,
        IncrLevels                => 1,
        IncrFill                  => 1,
        PartialAgeMax             => 1,
        RestoreInfoKeepCnt        => 1,
        ArchiveInfoKeepCnt        => 1,
        BackupFilesOnly           => 1,
        BackupFilesExclude        => 1,
        BackupsDisable            => 1,
        BlackoutBadPingLimit      => 1,
        BlackoutGoodCnt           => 1,
        BlackoutPeriods           => 1,
        BackupZeroFilesIsFatal    => 1,
        ClientCharset             => 1,
        ClientCharsetLegacy       => 1,
        XferMethod                => 1,
        XferLogLevel              => 1,
        SmbShareName              => 1,
        SmbShareUserName          => 1,
        SmbSharePasswd            => 1,
        SmbClientFullCmd          => 0,
        SmbClientIncrCmd          => 0,
        SmbClientRestoreCmd       => 0,
        TarShareName              => 1,
        TarFullArgs               => 1,
        TarIncrArgs               => 1,
        TarClientCmd              => 0,
        TarClientRestoreCmd       => 0,
        TarClientPath             => 0,
        RsyncShareName            => 1,
        RsyncdClientPort          => 1,
        RsyncdPasswd              => 1,
        RsyncdUserName            => 1,
        RsyncdAuthRequired        => 1,
        RsyncCsumCacheVerifyProb  => 1,
        RsyncArgs                 => 1,
        RsyncArgsExtra            => 1,
        RsyncRestoreArgs          => 1,
        RsyncClientCmd            => 0,
        RsyncClientRestoreCmd     => 0,
        RsyncClientPath           => 0,
        FtpShareName              => 1,
        FtpUserName               => 1,
        FtpPasswd                 => 1,
        FtpBlockSize              => 1,
        FtpPort                   => 1,
        FtpTimeout                => 1,
        FtpFollowSymlinks         => 1,
        FtpRestoreEnabled         => 1,
        ArchiveDest               => 1,
        ArchiveComp               => 1,
        ArchivePar                => 1,
        ArchiveSplit              => 1,
        ArchiveClientCmd          => 0,
        FixedIPNetBiosNameCheck   => 1,
        NmbLookupCmd              => 0,
        NmbLookupFindHostCmd      => 0,
        PingMaxMsec               => 1,
        PingCmd                   => 0,
        ClientTimeout             => 1,
        MaxOldPerPCLogFiles       => 1,
        CompressLevel             => 1,
        ClientNameAlias           => 1,
        DumpPreUserCmd            => 0,
        DumpPostUserCmd           => 0,
        RestorePreUserCmd         => 0,
        RestorePostUserCmd        => 0,
        ArchivePreUserCmd         => 0,
        ArchivePostUserCmd        => 0,
        DumpPostShareCmd          => 0,
        DumpPreShareCmd           => 0,
        UserCmdCheckStatus        => 0,
        EMailNotifyMinDays        => 1,
        EMailFromUserName         => 1,
        EMailAdminUserName        => 1,
        EMailUserDestDomain       => 1,
        EMailNoBackupEverSubj     => 1,
        EMailNoBackupEverMesg     => 1,
        EMailNotifyOldBackupDays  => 1,
        EMailNoBackupRecentSubj   => 1,
        EMailNoBackupRecentMesg   => 1,
        EMailNotifyOldOutlookDays => 1,
        EMailOutlookBackupSubj    => 1,
        EMailOutlookBackupMesg    => 1,
        EMailHeaders              => 1,
};

/etc/backuppc/hosts [Errno 13] Lupa evätty: u'/etc/backuppc/hosts'
/etc/backuppc/localhost.pl [Errno 13] Lupa evätty: u'/etc/backuppc/localhost.pl'

-- debconf information:
* backuppc/reconfigure-webserver: apache2
  backuppc/restart-webserver: true
* backuppc/configuration-note:

--- End Message ---
--- Begin Message ---
Hello,

Yes all these steps are present in the postinst script, but were not
executed because you did not allow the setup of the apache configuration
during Backuppc installation. So I have to close this bug. See also bug #788786

Best regards,

Ludovic

On Thu, Mar 02, 2017 at 08:05:02PM +0200, Tapio Lehtonen wrote:
> Package: backuppc
> Version: 3.3.0-2+deb8u1
> Severity: normal
> 
> Dear Maintainer,
> 
> Upgraded up-to-date Debian Wheezy to Jessie today. 
> Answered use maintainer version for all questions 
> about configuration files. 
> 
> After upgrade backuppc Web interface did not work. 
> Other parts of backuppc seemed to be OK, 
> Trash_clean started automatically and 
> BackupPC_dump -v -f did start and reported no errors 
> until I exited it. 
> 
> I quess the problem is the upgrade created file
> /etc/apache2/conf.d/backuppc.conf, 
> as a symlink to /etc/backuppc/apache.conf. 
> I compared settings to a working BackupPC on 
> a Jessie host I had installed from scratch. 
> 
> I got this fixed by
> a2enconf backuppc
> service apache2 reload
> 
> There was the file 
> /etc/apache/conf-available/backuppc.conf, 
> just a2enconf was missing.
> 
> My quess is the /etc/apache2/conf.d -directory 
> should not exist.
> 
> 
> 
> -- System Information:
> Debian Release: 8.7
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages backuppc depends on:
> ii  adduser                                    3.113+nmu3
> ii  apache2 [httpd]                            2.4.10-10+deb8u8
> ii  apache2-mpm-prefork [httpd]                2.4.10-10+deb8u8
> ii  apache2-utils                              2.4.10-10+deb8u8
> ii  bzip2                                      1.0.6-7+b3
> ii  debconf [debconf-2.0]                      1.5.56
> ii  dpkg                                       1.17.27
> ii  exim4                                      4.84.2-2+deb8u3
> ii  exim4-daemon-light [mail-transport-agent]  4.84.2-2+deb8u3
> ii  iputils-ping                               3:20121221-5+b2
> ii  libarchive-zip-perl                        1.39-1
> ii  libc6                                      2.19-18+deb8u7
> pn  libcompress-zlib-perl                      <none>
> ii  libtime-modules-perl                       2013.1113-2
> ii  libwww-perl                                6.08-1
> ii  perl [libdigest-md5-perl]                  5.20.2-3+deb8u6
> ii  samba-common-bin                           2:4.2.14+dfsg-0+deb8u2
> ii  smbclient                                  2:4.2.14+dfsg-0+deb8u2
> ii  tar                                        1.27.1-2+deb8u1
> ii  ucf                                        3.0030
> 
> Versions of packages backuppc recommends:
> ii  libfile-rsyncp-perl          0.70-1.1+b1
> ii  libio-dirent-perl            0.05-1+b2
> ii  openssh-client [ssh-client]  1:6.7p1-5+deb8u3
> ii  rrdtool                      1.4.8-1.2
> ii  rsync                        3.1.1-3
> 
> Versions of packages backuppc suggests:
> pn  par2               <none>
> ii  w3m [www-browser]  0.5.3-19+deb8u1
> 
> -- Configuration Files:
> /etc/backuppc/config.pl changed:
> $ENV{'PATH'} = '/bin:/usr/bin';
> delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
> $Conf{ServerHost} = `hostname`;
> chomp($Conf{ServerHost});
> $Conf{ServerPort} = -1;
> $Conf{ServerMesgSecret} = '';
> $Conf{MyPath} = '/bin';
> $Conf{UmaskMode} = 027;
> $Conf{WakeupSchedule} = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 
> 16, 17, 18, 19, 20, 21, 22, 23];
> $Conf{MaxBackups} = 4;
> $Conf{MaxUserBackups} = 4;
> $Conf{MaxPendingCmds} = 15;
> $Conf{CmdQueueNice} = 10;
> $Conf{MaxBackupPCNightlyJobs} = 2;
> $Conf{BackupPCNightlyPeriod} = 1;
> $Conf{MaxOldLogFiles} = 14;
> $Conf{DfPath} = '/bin/df';
> $Conf{DfCmd} = '$dfPath $topDir';
> $Conf{SplitPath} = '/usr/bin/split';
> $Conf{ParPath}   = '/usr/bin/par2' if -x '/usr/bin/par2';
> $Conf{CatPath}   = '/bin/cat';
> $Conf{GzipPath}  = '/bin/gzip';
> $Conf{Bzip2Path} = '/bin/bzip2';
> $Conf{DfMaxUsagePct} = 95;
> $Conf{TrashCleanSleepSec} = 300;
> $Conf{DHCPAddressRanges} = [];
> $Conf{BackupPCUser} = 'backuppc';
> $Conf{TopDir}      = '/var/lib/backuppc';
> $Conf{ConfDir}     = '/etc/backuppc';
> $Conf{LogDir}      = '/var/lib/backuppc/log';
> $Conf{InstallDir}  = '/usr/share/backuppc';
> $Conf{CgiDir}      = '/usr/share/backuppc/cgi-bin';
> $Conf{BackupPCUserVerify} = 1;
> $Conf{HardLinkMax} = 31999;
> $Conf{PerlModuleLoad}     = undef;
> $Conf{ServerInitdPath} = '';
> $Conf{ServerInitdStartCmd} = '';
> $Conf{FullPeriod} = 6.97;
> $Conf{IncrPeriod} = 0.97;
> $Conf{FullKeepCnt} = 1;
> $Conf{FullKeepCntMin} = 1;
> $Conf{FullAgeMax}     = 90;
> $Conf{IncrKeepCnt} = 6;
> $Conf{IncrKeepCntMin} = 1;
> $Conf{IncrAgeMax}     = 30;
> $Conf{IncrLevels} = [1];
> $Conf{BackupsDisable} = 0;
> $Conf{PartialAgeMax} = 3;
> $Conf{IncrFill} = 0;
> $Conf{RestoreInfoKeepCnt} = 10;
> $Conf{ArchiveInfoKeepCnt} = 10;
> $Conf{BackupFilesOnly} = undef;
> $Conf{BackupFilesExclude} = undef;
> $Conf{BlackoutBadPingLimit} = 3;
> $Conf{BlackoutGoodCnt}      = 7;
> $Conf{BlackoutPeriods} = [
>     {
>       hourBegin =>  7.0,
>       hourEnd   => 19.5,
>       weekDays  => [1, 2, 3, 4, 5],
>     },
> ];
> $Conf{BackupZeroFilesIsFatal} = 0;
> $Conf{XferMethod} = 'smb';
> $Conf{XferLogLevel} = 1;
> $Conf{ClientCharset} = '';
> $Conf{ClientCharsetLegacy} = 'iso-8859-1';
> $Conf{SmbShareName} = 'C$';
> $Conf{SmbShareUserName} = '';
> $Conf{SmbSharePasswd} = '';
> $Conf{SmbClientPath} = '/usr/bin/smbclient';
> $Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName'
>           . ' $I_option -U $userName -E -d 1'
>             . ' -c tarmode\\ full -Tc$X_option - $fileList';
> $Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName'
>           . ' $I_option -U $userName -E -d 1'
>           . ' -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
> $Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName'
>             . ' $I_option -U $userName -E -d 5'
>             . ' -c tarmode\\ full -Tx -';
> $Conf{TarShareName} = '/';
> $Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host'
>                     . ' env LC_ALL=C $tarPath -c -v -f - -C $shareName+'
>                     . ' --totals';
> $Conf{TarFullArgs} = '$fileList+';
> $Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';
> $Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host'
>                  . ' env LC_ALL=C $tarPath -x -p --numeric-owner --same-owner'
>                  . ' -v -f - -C $shareName+';
> $Conf{TarClientPath} = '/bin/tar';
> $Conf{RsyncClientPath} = '/usr/bin/rsync';
> $Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';
> $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath 
> $argList+';
> $Conf{RsyncShareName} = '/';
> $Conf{RsyncdClientPort} = 873;
> $Conf{RsyncdUserName} = '';
> $Conf{RsyncdPasswd} = '';
> $Conf{RsyncdAuthRequired} = 1;
> $Conf{RsyncCsumCacheVerifyProb} = 0.01;
> $Conf{RsyncArgs} = [
>           #
>           # Do not edit these!
>           #
>             '--numeric-ids',
>             '--perms',
>             '--owner',
>             '--group',
>             '-D',
>             '--links',
>             '--hard-links',
>             '--times',
>             '--block-size=2048',
>             '--recursive',
>           #
>           # Rsync >= 2.6.3 supports the --checksum-seed option
>             # which allows rsync checksum caching on the server.
>           # Uncomment this to enable rsync checksum caching if
>             # you have a recent client rsync version and you want
>             # to enable checksum caching.
>           #
>           #'--checksum-seed=32761',
> ];
> $Conf{RsyncArgsExtra} = [];
> $Conf{RsyncRestoreArgs} = [
>           #
>           # Do not edit these!
>           #
>           '--numeric-ids',
>           '--perms',
>           '--owner',
>           '--group',
>           '-D',
>           '--links',
>             '--hard-links',
>           '--times',
>           '--block-size=2048',
>           '--relative',
>           '--ignore-times',
>           '--recursive',
>           #
>           # Rsync >= 2.6.3 supports the --checksum-seed option
>             # which allows rsync checksum caching on the server.
>           # Uncomment this to enable rsync checksum caching if
>             # you have a recent client rsync version and you want
>             # to enable checksum caching.
>           #
>           #'--checksum-seed=32761',
>           #
>           # Add additional arguments here
>           #
> ];
> $Conf{FtpShareName} = '';
> $Conf{FtpUserName} = '';
> $Conf{FtpPasswd} = '';
> $Conf{FtpPassive} = 1;
> $Conf{FtpBlockSize} = 10240;
> $Conf{FtpPort} = 21;
> $Conf{FtpTimeout} = 120;
> $Conf{FtpFollowSymlinks} = 0;
> $Conf{ArchiveDest} = '/tmp';
> $Conf{ArchiveComp} = 'gzip';
> $Conf{ArchivePar} = 0;
> $Conf{ArchiveSplit} = 0;
> $Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost'
>       . ' $tarCreatePath $splitpath $parpath $host $backupnumber'
>       . ' $compression $compext $splitsize $archiveloc $parfile *';
> $Conf{SshPath} = '/usr/bin/ssh' if -x '/usr/bin/ssh';
> $Conf{NmbLookupPath} = '/usr/bin/nmblookup';
> $Conf{NmbLookupCmd} = '$nmbLookupPath -A $host';
> $Conf{NmbLookupFindHostCmd} = '$nmbLookupPath $host';
> $Conf{FixedIPNetBiosNameCheck} = 0;
> $Conf{PingPath} = '/bin/ping';
> $Conf{PingCmd} = '$pingPath -c 1 $host';
> $Conf{PingMaxMsec} = 20;
> $Conf{CompressLevel} = 3;
> $Conf{ClientTimeout} = 72000;
> $Conf{MaxOldPerPCLogFiles} = 12;
> $Conf{DumpPreUserCmd}     = undef;
> $Conf{DumpPostUserCmd}    = undef;
> $Conf{DumpPreShareCmd}    = undef;
> $Conf{DumpPostShareCmd}   = undef;
> $Conf{RestorePreUserCmd}  = undef;
> $Conf{RestorePostUserCmd} = undef;
> $Conf{ArchivePreUserCmd}  = undef;
> $Conf{ArchivePostUserCmd} = undef;
> $Conf{UserCmdCheckStatus} = 0;
> $Conf{ClientNameAlias} = undef;
> $Conf{SendmailPath} = '/usr/sbin/sendmail';
> $Conf{EMailNotifyMinDays} = 2.5;
> $Conf{EMailFromUserName} = 'backuppc';
> $Conf{EMailAdminUserName} = 'backuppc';
> $Conf{EMailUserDestDomain} = '';
> $Conf{EMailNoBackupEverSubj} = undef;
> $Conf{EMailNoBackupEverMesg} = undef;
> $Conf{EMailNotifyOldBackupDays} = 7.0;
> $Conf{EMailNoBackupRecentSubj} = undef;
> $Conf{EMailNoBackupRecentMesg} = undef;
> $Conf{EMailNotifyOldOutlookDays} = 5.0;
> $Conf{EMailOutlookBackupSubj} = undef;
> $Conf{EMailOutlookBackupMesg} = undef;
> $Conf{EMailHeaders} = <<EOF;
> MIME-Version: 1.0
> Content-Type: text/plain; charset="utf-8"
> EOF
> $Conf{CgiAdminUserGroup} = 'backuppc';
> $Conf{CgiAdminUsers}     = 'backuppc';
> $Conf{CgiURL} = 'http://'.$Conf{ServerHost}.'/backuppc/index.cgi';
> $Conf{Language} = 'en';
> $Conf{CgiUserHomePageCheck} = '';
> $Conf{CgiUserUrlCreate}     = 'mailto:%s';
> $Conf{CgiDateFormatMMDD} = 2;
> $Conf{CgiNavBarAdminAllHosts} = 1;
> $Conf{CgiSearchBoxEnable} = 1;
> $Conf{CgiNavBarLinks} = [
>     {
>         link  => "?action=view&type=docs",
>         lname => "Documentation",    # actually displays 
> $Lang->{Documentation}
>     },
>     {
>         link  => "http://backuppc.wiki.sourceforge.net";,
>         name  => "Wiki",              # displays literal "Wiki"
>     },
>     {
>         link  => "http://backuppc.sourceforge.net";,
>         name  => "SourceForge",      # displays literal "SourceForge"
>     },
> ];
> $Conf{CgiStatusHilightColor} = {
>     Reason_backup_failed           => '#ffcccc',
>     Reason_backup_done             => '#ccffcc',
>     Reason_no_ping                 => '#ffff99',
>     Reason_backup_canceled_by_user => '#ff9900',
>     Status_backup_in_progress      => '#66cc99',
>     Disabled_OnlyManualBackups     => '#d1d1d1',   
>     Disabled_AllBackupsDisabled    => '#d1d1d1',          
> };
> $Conf{CgiHeaders} = '<meta http-equiv="pragma" content="no-cache">';
> $Conf{CgiImageDir} = '/usr/share/backuppc/image';
> $Conf{CgiExt2ContentType} = { };
> $Conf{CgiImageDirURL} = '/backuppc/image';
> $Conf{CgiCSSFile} = 'BackupPC_stnd.css';
> $Conf{CgiUserConfigEditEnable} = 1;
> $Conf{CgiUserConfigEdit} = {
>         FullPeriod                => 1,
>         IncrPeriod                => 1,
>         FullKeepCnt               => 1,
>         FullKeepCntMin            => 1,
>         FullAgeMax                => 1,
>         IncrKeepCnt               => 1,
>         IncrKeepCntMin            => 1,
>         IncrAgeMax                => 1,
>         IncrLevels                => 1,
>         IncrFill                  => 1,
>         PartialAgeMax             => 1,
>         RestoreInfoKeepCnt        => 1,
>         ArchiveInfoKeepCnt        => 1,
>         BackupFilesOnly           => 1,
>         BackupFilesExclude        => 1,
>         BackupsDisable            => 1,
>         BlackoutBadPingLimit      => 1,
>         BlackoutGoodCnt           => 1,
>         BlackoutPeriods           => 1,
>         BackupZeroFilesIsFatal    => 1,
>         ClientCharset             => 1,
>         ClientCharsetLegacy       => 1,
>         XferMethod                => 1,
>         XferLogLevel              => 1,
>         SmbShareName              => 1,
>         SmbShareUserName          => 1,
>         SmbSharePasswd            => 1,
>         SmbClientFullCmd          => 0,
>         SmbClientIncrCmd          => 0,
>         SmbClientRestoreCmd       => 0,
>         TarShareName              => 1,
>         TarFullArgs               => 1,
>         TarIncrArgs               => 1,
>         TarClientCmd              => 0,
>         TarClientRestoreCmd       => 0,
>         TarClientPath             => 0,
>         RsyncShareName            => 1,
>         RsyncdClientPort          => 1,
>         RsyncdPasswd              => 1,
>         RsyncdUserName            => 1,
>         RsyncdAuthRequired        => 1,
>         RsyncCsumCacheVerifyProb  => 1,
>         RsyncArgs                 => 1,
>         RsyncArgsExtra            => 1,
>         RsyncRestoreArgs          => 1,
>         RsyncClientCmd            => 0,
>         RsyncClientRestoreCmd     => 0,
>         RsyncClientPath           => 0,
>         FtpShareName              => 1,
>         FtpUserName               => 1,
>         FtpPasswd                 => 1,
>         FtpBlockSize              => 1,
>         FtpPort                   => 1,
>         FtpTimeout                => 1,
>         FtpFollowSymlinks         => 1,
>         FtpRestoreEnabled         => 1,
>         ArchiveDest               => 1,
>         ArchiveComp               => 1,
>         ArchivePar                => 1,
>         ArchiveSplit              => 1,
>         ArchiveClientCmd          => 0,
>         FixedIPNetBiosNameCheck   => 1,
>         NmbLookupCmd              => 0,
>         NmbLookupFindHostCmd      => 0,
>         PingMaxMsec               => 1,
>         PingCmd                   => 0,
>         ClientTimeout             => 1,
>         MaxOldPerPCLogFiles       => 1,
>         CompressLevel             => 1,
>         ClientNameAlias           => 1,
>         DumpPreUserCmd            => 0,
>         DumpPostUserCmd           => 0,
>         RestorePreUserCmd         => 0,
>         RestorePostUserCmd        => 0,
>         ArchivePreUserCmd         => 0,
>         ArchivePostUserCmd        => 0,
>         DumpPostShareCmd          => 0,
>         DumpPreShareCmd           => 0,
>         UserCmdCheckStatus        => 0,
>         EMailNotifyMinDays        => 1,
>         EMailFromUserName         => 1,
>         EMailAdminUserName        => 1,
>         EMailUserDestDomain       => 1,
>         EMailNoBackupEverSubj     => 1,
>         EMailNoBackupEverMesg     => 1,
>         EMailNotifyOldBackupDays  => 1,
>         EMailNoBackupRecentSubj   => 1,
>         EMailNoBackupRecentMesg   => 1,
>         EMailNotifyOldOutlookDays => 1,
>         EMailOutlookBackupSubj    => 1,
>         EMailOutlookBackupMesg    => 1,
>         EMailHeaders              => 1,
> };
> 
> /etc/backuppc/hosts [Errno 13] Lupa evätty: u'/etc/backuppc/hosts'
> /etc/backuppc/localhost.pl [Errno 13] Lupa evätty: 
> u'/etc/backuppc/localhost.pl'
> 
> -- debconf information:
> * backuppc/reconfigure-webserver: apache2
>   backuppc/restart-webserver: true
> * backuppc/configuration-note:
> 
> 

-- 
Ludovic Drolez.

http://www.aopensource.com             - The Android Open Source Portal
http://www.drolez.com         - Personal site - Linux and Free Software

--- End Message ---

Reply via email to