Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/b/backuppc/backuppc_4.4.0-6_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/backuppc-4.4.0-6ibfx2lap/backuppc_4.4.0-6_amd64.buildinfo Get source package info: backuppc=4.4.0-6 Source URL: http://snapshot.notset.fr/mr/package/backuppc/4.4.0-6/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.3 autopoint=0.21-6 autotools-dev=20220109.1 base-files=12.2 base-passwd=3.5.52 bash=5.1-6 binutils=2.38-3 binutils-common=2.38-3 binutils-x86-64-linux-gnu=2.38-3 bsdextrautils=2.37.3-1+b1 bsdutils=1:2.37.3-1+b1 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-19 dash=0.5.11+git20210903+057cd650a4ed-8 debconf=1.5.79 debhelper=13.6 debianutils=5.7-0.1 dh-autoreconf=20 dh-strip-nondeterminism=1.13.0-1 diffutils=1:3.7-5 dpkg=1.21.7 dpkg-dev=1.21.7 dwz=0.14-1 file=1:5.41-3 findutils=4.9.0-2 fontconfig=2.13.1-4.4 fontconfig-config=2.13.1-4.4 fonts-dejavu-core=2.37-2 g++=4:11.2.0-2 g++-11=11.2.0-19 gcc=4:11.2.0-2 gcc-11=11.2.0-19 gcc-11-base=11.2.0-19 gcc-12-base=12-20220319-1 gettext=0.21-6 gettext-base=0.21-6 grep=3.7-1 groff-base=1.22.4-8 gzip=1.10-4 hostname=3.23 init-system-helpers=1.62 intltool-debian=0.35.0+20060710.5 iputils-ping=3:20211215-1 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-19 libatomic1=12-20220319-1 libattr1=1:2.5.1-1 libaudit-common=1:3.0.7-1 libaudit1=1:3.0.7-1+b1 libbackuppc-xs-perl=0.62-2+b1 libbinutils=2.38-3 libblkid1=2.37.3-1+b1 libbrotli1=1.0.9-2+b3 libbsd0=0.11.6-1 libbz2-1.0=1.0.8-5 libc-bin=2.33-7 libc-dev-bin=2.33-7 libc6=2.33-7 libc6-dev=2.33-7 libcairo2=1.16.0-5 libcap-ng0=0.7.9-2.2+b2 libcap2=1:2.44-1 libcap2-bin=1:2.44-1 libcc1-0=12-20220319-1 libcgi-pm-perl=4.54-1 libcom-err2=1.46.5-2 libcrypt-dev=1:4.4.27-1.1 libcrypt1=1:4.4.27-1.1 libctf-nobfd0=2.38-3 libctf0=2.38-3 libdatrie1=0.2.13-2 libdb5.3=5.3.28+dfsg1-0.8 libdbi1=0.9.0-6 libdebconfclient0=0.261 libdebhelper-perl=13.6 libdpkg-perl=1.21.7 libelf1=0.186-1 libexpat1=2.4.8-1 libffi8=3.4.2-4 libfile-listing-perl=6.14-1 libfile-stripnondeterminism-perl=1.13.0-1 libfontconfig1=2.13.1-4.4 libfreetype6=2.11.1+dfsg-1 libfribidi0=1.0.8-2.1 libgcc-11-dev=11.2.0-19 libgcc-s1=12-20220319-1 libgcrypt20=1.10.1-2 libgdbm-compat4=1.23-1 libgdbm6=1.23-1 libglib2.0-0=2.72.0-1+b1 libgmp10=2:6.2.1+dfsg-3 libgomp1=12-20220319-1 libgpg-error0=1.43-3 libgraphite2-3=1.3.14-1 libgssapi-krb5-2=1.19.2-2+b1 libharfbuzz0b=2.7.4-1 libhtml-parser-perl=3.78-1 libhtml-tagset-perl=3.20-4 libhttp-date-perl=6.05-1 libicu67=67.1-7 libidn2-0=2.3.2-2 libisl23=0.24-2 libitm1=12-20220319-1 libk5crypto3=1.19.2-2+b1 libkeyutils1=1.6.1-3 libkrb5-3=1.19.2-2+b1 libkrb5support0=1.19.2-2+b1 liblsan0=12-20220319-1 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-3 libmagic1=1:5.41-3 libmd0=1.0.4-1 libmount1=2.37.3-1+b1 libmpc3=1.2.1-2 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-11 libpam-modules-bin=1.4.0-11 libpam-runtime=1.4.0-11 libpam0g=1.4.0-11 libpango-1.0-0=1.50.6+ds-2 libpangocairo-1.0-0=1.50.6+ds-2 libpangoft2-1.0-0=1.50.6+ds-2 libpcre2-8-0=10.39-3 libpcre3=2:8.39-14 libperl5.34=5.34.0-3 libpipeline1=1.5.5-1 libpixman-1-0=0.40.0-1 libpng16-16=1.6.37-3 libquadmath0=12-20220319-1 librrd8=1.7.2-4+b2 libseccomp2=2.5.3-2 libselinux1=3.3-1+b2 libsigsegv2=2.14-1 libsmartcols1=2.37.3-1+b1 libssl1.1=1.1.1n-1 libstdc++-11-dev=11.2.0-19 libstdc++6=12-20220319-1 libsub-override-perl=0.09-2 libsystemd0=250.4-1 libthai-data=0.1.29-1 libthai0=0.1.29-1 libtimedate-perl=2.3300-2 libtinfo6=6.3-2 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.7-3 libtsan0=11.2.0-19 libubsan1=12-20220319-1 libuchardet0=0.0.7-1 libudev1=250.4-1 libunistring2=1.0-1 liburi-perl=5.10-1 libuuid1=2.37.3-1+b1 libx11-6=2:1.7.5-1 libx11-data=2:1.7.5-1 libxau6=1:1.0.9-1 libxcb-render0=1.14-3 libxcb-shm0=1.14-3 libxcb1=1.14-3 libxdmcp6=1:1.1.2-3 libxext6=2:1.3.4-1 libxml2=2.9.13+dfsg-1 libxrender1=1:0.9.10-1 libzstd1=1.4.10+dfsg-1 linux-libc-dev=5.16.18-1 login=1:4.11.1+dfsg1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.10.2-1 mawk=1.3.4.20200120-3+b1 ncurses-base=6.3-2 ncurses-bin=6.3-2 par2=0.8.1-2 patch=2.7.6-7 perl=5.34.0-3 perl-base=5.34.0-3 perl-modules-5.34=5.34.0-3 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 rrdtool=1.7.2-4+b2 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.01-1 tar=1.34+dfsg-1 ucf=3.0043 util-linux=2.37.3-1+b1 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-4 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20220410T024720Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220410T024720Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220408T211210Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d backuppc=4.4.0-6 && mkdir -p /build/backuppc-zdRLO8 && dpkg-source --no-check -x /*.dsc /build/backuppc-zdRLO8/backuppc-4.4.0 && chown -R builduser:builduser /build/backuppc-zdRLO8" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/backuppc-zdRLO8/backuppc-4.4.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1649413153" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/backuppc-zdRLO8 /tmp/backuppc-4.4.0-6ibfx2lap bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.nIv7PrvMYD as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.nIv7PrvMYD Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.3-1+b1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 135 kB of archives. After this operation, 406 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main amd64 libfakeroot amd64 1.28-1 [48.2 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable/main amd64 fakeroot amd64 1.28-1 [87.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 135 kB in 0s (1024 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4701 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.28-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.28-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.28-1_amd64.deb ... Unpacking fakeroot (1.28-1) ... Setting up libfakeroot:amd64 (1.28-1) ... Setting up fakeroot (1.28-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.33-7) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20220410T024720Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20220410T024720Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220408T211210Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.nIv7PrvMYD Get:1 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm InRelease [130 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20220408T211210Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main Sources [12.0 MB] Get:4 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main amd64 Packages [11.4 MB] Fetched 23.5 MB in 21s (1133 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.nIv7PrvMYD I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d backuppc=4.4.0-6 && mkdir -p /build/backuppc-zdRLO8 && dpkg-source --no-check -x /*.dsc /build/backuppc-zdRLO8/backuppc-4.4.0 && chown -R builduser:builduser /build/backuppc-zdRLO8"' exec /tmp/mmdebstrap.nIv7PrvMYD Reading package lists... NOTICE: 'backuppc' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/backuppc.git Please use: git clone https://salsa.debian.org/debian/backuppc.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 719 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main backuppc 4.4.0-6 (dsc) [2157 B] Get:2 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main backuppc 4.4.0-6 (tar) [657 kB] Get:3 http://snapshot.notset.fr/archive/debian/20220410T024720Z bookworm/main backuppc 4.4.0-6 (diff) [59.6 kB] Fetched 719 kB in 1s (1160 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'backuppc_4.4.0-6.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting backuppc in /build/backuppc-zdRLO8/backuppc-4.4.0 dpkg-source: info: unpacking backuppc_4.4.0.orig.tar.gz dpkg-source: info: unpacking backuppc_4.4.0-6.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01-debian.patch dpkg-source: info: applying 02-fix-spelling-errors.patch dpkg-source: info: applying 04-use-IT-Support-instead-of-IS.patch dpkg-source: info: applying 05-fix-too-much-translation-and-charset.patch dpkg-source: info: applying 06-fix-rrd-graph-permissions.patch dpkg-source: info: applying 07-reload-user.patch dpkg-source: info: applying 08-fix-systemd-unit.patch dpkg-source: info: applying 09-hardcode-debians-rundir.patch dpkg-source: info: applying 10-hosts-file-is-not-perl-syntax.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/backuppc-zdRLO8/backuppc-4.4.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1649413153" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.nIv7PrvMYD dpkg-buildpackage: info: source package backuppc dpkg-buildpackage: info: source version 4.4.0-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Axel Beckert dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a dh_autoreconf -a debian/rules override_dh_auto_build make[1]: Entering directory '/build/backuppc-zdRLO8/backuppc-4.4.0' dh_auto_build override_dh_auto_build cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/backuppc-zdRLO8/backuppc-4.4.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wl,-z,relro -Wl,-z,now debian/setuidwrapper.c -o index.cgi debian/setuidwrapper.c: In function ‘main’: debian/setuidwrapper.c:5:5: warning: type of ‘ac’ defaults to ‘int’ [-Wimplicit-int] 5 | int main(ac, av) | ^~~~ pod2man --section=8 --center="BackupPC manual" doc/BackupPC.pod backuppc.8 perl -e "s/.IX Title.*/.SH NAME\nbackuppc \\- BackupPC manual/g" -p -i.tmp backuppc.8 make[1]: Leaving directory '/build/backuppc-zdRLO8/backuppc-4.4.0' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a dh_installdirs -a dh_auto_install --destdir=debian/backuppc/ -a debian/rules override_dh_install make[1]: Entering directory '/build/backuppc-zdRLO8/backuppc-4.4.0' perl configure.pl --batch --no-fhs --hostname XXXXXX --uid-ignore \ --config-dir=/etc/backuppc --run-dir=/run/backuppc \ --install-dir /usr/share/backuppc --dest-dir /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc/ \ --data-dir /var/lib/backuppc --cgi-dir /usr/share/backuppc/cgi-bin \ --html-dir /usr/share/backuppc/image --html-dir-url /backuppc/image \ --bin-path perl=/usr/bin/perl --bin-path tar=/bin/tar \ --bin-path smbclient=/usr/bin/smbclient \ --bin-path nmblookup=/usr/bin/nmblookup \ --bin-path rsync_bpc=/usr/libexec/backuppc-rsync/rsync_bpc \ --bin-path rsync=/usr/bin/rsync --bin-path ping=/bin/ping \ --bin-path df=/bin/df --bin-path ssh=/usr/bin/ssh \ --bin-path sendmail=/usr/sbin/sendmail \ --bin-path hostname=/bin/hostname --bin-path split=/usr/bin/split \ --bin-path par2=/usr/bin/par2 --bin-path cat=/bin/cat \ --bin-path gzip=/bin/gzip --bin-path bzip2=/bin/bzip2 \ --bin-path ping6=/bin/ping6 Is this a new installation or upgrade for BackupPC? If this is an upgrade please tell me the full path of the existing BackupPC configuration file (eg: /etc/backuppc/config.pl). Otherwise, just hit return. --> Full path to existing main config.pl [] I found the following locations for these programs: bzip2 => /bin/bzip2 cat => /bin/cat df => /bin/df gtar/tar => /bin/tar gzip => /bin/gzip hostname => /bin/hostname nmblookup => /usr/bin/nmblookup par2 => /usr/bin/par2 perl => /usr/bin/perl ping => /bin/ping ping6 => /bin/ping6 rrdtool => /usr/bin/rrdtool rsync => /usr/bin/rsync rsync_bpc => /usr/libexec/backuppc-rsync/rsync_bpc sendmail => /usr/sbin/sendmail smbclient => /usr/bin/smbclient split => /usr/bin/split ssh/ssh2 => /usr/bin/ssh --> Are these paths correct? [y] Please tell me the hostname of the machine that BackupPC will run on. --> BackupPC will run on host [XXXXXX] BackupPC should run as a dedicated user with limited privileges. You need to create a user. This user will need read/write permission on the main data directory and read/execute permission on the install directory (these directories will be setup shortly). The primary group for this user should also be chosen carefully. The data directories and files will have group read permission, so group members can access backup files. --> BackupPC should run as user [backuppc] Please specify an install directory for BackupPC. This is where the BackupPC scripts, library and documentation will be installed. --> Install directory (full path) [/usr/share/backuppc] Please specify a data directory for BackupPC. This is where all the PC backup data is stored. This file system needs to be big enough to accommodate all the PCs you expect to backup (eg: at least several GB per machine). --> Data directory (full path) [/var/lib/backuppc] BackupPC has SCGI and CGI perl interfaces that run under Apache. You need to pick which one to run. For SCGI, Apache uses the scgi_mod module to communicate with BackupPC_Admin_SCGI, which handles the requests. This allows Apache to run as a different user as backuppc. To use SCGI you need to set SCGIServerPort to any spare non-privileged TCP port number. A negative value disables SCGI. ** Important security warning!! The SCGIServerPort must not be accessible by ** anyone untrusted. That means you can't allow untrusted users access to the ** BackupPC server, and you should block the SCGIServerPort TCP port from ** network access. The traditional alternative is to use CGI. In this case, an executable needs to be installed Apache's cgi-bin directory. This executable needs to run as set-uid backuppc, or it can be run under mod_perl with Apache running as user backuppc. --> SCGI port (-1 to disable) [-1] --> CGI bin directory (full path, or empty for no CGI) [/usr/share/backuppc/cgi-bin] BackupPC's CGI and SCGI script need to display various PNG/GIF images that should be stored where Apache can serve them. They should be placed somewhere under Apache's DocumentRoot. BackupPC also needs to know the URL to access these images. Example: Apache image directory: /var/www/htdocs/BackupPC URL for image directory: /BackupPC The URL for the image directory should start with a slash. --> Apache image directory (full path, or empty for no S/CGI) [/usr/share/backuppc/image] --> URL for image directory (omit http://host; starts with '/', or empty for no S/CGI) [/backuppc/image] Ok, we're about to: - install the binaries, lib and docs in /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc - create the data directory /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//var/lib/backuppc - optionally install the cgi-bin interface - create/update the config.pl file /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//etc/backuppc/config.pl --> Do you want to continue? [y] Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/bin Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/share Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/share/doc Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/share/doc/BackupPC Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib/BackupPC Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib/BackupPC/CGI Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib/BackupPC/Config Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib/BackupPC/Lang Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib/BackupPC/Storage Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib/BackupPC/Xfer Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib/BackupPC/Zip Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib/Net Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib/Net/FTP Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//var/lib/backuppc Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//var/lib/backuppc/pool Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//var/lib/backuppc/cpool Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//var/lib/backuppc/pc Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//etc/backuppc Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//var/lib/backuppc/log Created /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//run/backuppc Installing binaries in /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/bin Installing library in /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/lib Installing images in /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/image Making systemd and init.d scripts Making Apache configuration file for suid-perl Installing docs in /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/share/doc/BackupPC Installing cgi script BackupPC_Admin in /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//usr/share/backuppc/cgi-bin Installing config.pl and hosts in /build/backuppc-zdRLO8/backuppc-4.4.0/debian/backuppc//etc/backuppc Ok, it looks like we are finished. There are several more things you will need to do: - Browse through the config file, /etc/backuppc/config.pl, and make sure all the settings are correct. In particular, you will need to set $Conf{CgiAdminUsers} so you have administration privileges in the CGI interface. - Edit the list of hosts to backup in /etc/backuppc/hosts. - Read the documentation in /usr/share/backuppc/doc/BackupPC.html. Please pay special attention to the security section. - Verify that the CGI script BackupPC_Admin runs correctly. You might need to change the permissions or group ownership of BackupPC_Admin. If this is an upgrade and you are using mod_perl, you will need to restart Apache. Otherwise it will have stale code. - BackupPC should be ready to start. Don't forget to run it as user backuppc! The installation also contains a systemd/backuppc.service script that can be installed so that BackupPC can auto-start on boot. This will also enable administrative users to start the server from the CGI interface. See systemd/README. Enjoy! mv -f debian/backuppc/usr/share/backuppc/cgi-bin/* debian/backuppc/usr/share/backuppc/lib/realindex.cgi install --mode=755 index.cgi debian/backuppc/usr/lib/backuppc/cgi-bin install --mode=755 debian/BackupPC_deleteFile debian/backuppc/usr/share/backuppc/bin install --mode=644 debian/jLib.pm debian/backuppc/usr/share/backuppc/lib/BackupPC install --mode=644 conf/hosts debian/backuppc/etc/backuppc install --mode=644 debian/localhost.pl debian/backuppc/etc/backuppc install --mode=644 debian/apache.conf debian/backuppc/etc/backuppc rmdir debian/backuppc/var/lib/backuppc/conf/ rmdir: failed to remove 'debian/backuppc/var/lib/backuppc/conf/': No such file or directory make[1]: [debian/rules:27: override_dh_install] Error 1 (ignored) (cd debian/backuppc/usr/share/backuppc/cgi-bin; ln -s ../image; ln -s /usr/lib/backuppc/cgi-bin/index.cgi ) patch --no-backup-if-mismatch -p0 < debian/config.pl.diff patching file debian/backuppc/etc/backuppc/config.pl Hunk #6 succeeded at 2069 (offset -1 lines). Hunk #7 succeeded at 2101 with fuzz 2 (offset -1 lines). install --mode=644 debian/backuppc/etc/backuppc/config.pl debian/backuppc/usr/share/backuppc/conf rm -rf debian/backuppc/etc/backuppc/config.pl rm -rf debian/backuppc/run dh_install make[1]: Leaving directory '/build/backuppc-zdRLO8/backuppc-4.4.0' dh_installdocs -a dh_installchangelogs -a dh_installexamples -a dh_installman -a dh_installdebconf -a dh_installinit -a dh_installsystemd -a dh_lintian -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'backuppc-dbgsym' in '../backuppc-dbgsym_4.4.0-6_amd64.deb'. dpkg-deb: building package 'backuppc' in '../backuppc_4.4.0-6_amd64.deb'. dpkg-genbuildinfo --build=any -O../backuppc_4.4.0-6_amd64.buildinfo dpkg-genchanges --build=any -O../backuppc_4.4.0-6_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/backuppc-zdRLO8 /tmp/backuppc-4.4.0-6ibfx2lap I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.nIv7PrvMYD... I: success in 1074.5898 seconds md5: backuppc-dbgsym_4.4.0-6_amd64.deb: OK md5: backuppc_4.4.0-6_amd64.deb: OK sha1: backuppc-dbgsym_4.4.0-6_amd64.deb: OK sha1: backuppc_4.4.0-6_amd64.deb: OK sha256: backuppc-dbgsym_4.4.0-6_amd64.deb: OK sha256: backuppc_4.4.0-6_amd64.deb: OK Checksums: OK