i added to the ./configure
--config-dir /etc/backuppc \
to
perl ./configure.pl --batch --no-fhs --hostname $HOSTNAME --uid-ignore \
--install-dir /usr/share/backuppc \
--run-dir /var/run/backuppc --config-dir /etc/backuppc \
--log-dir /var/log/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=/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 --scgi-port 3000;
got
Created /var/lib/backuppc
Created /var/lib/backuppc/pool
Created /var/lib/backuppc/cpool
Created /var/lib/backuppc/pc
Created /etc/backuppc
Created /var/log/backuppc
Created /var/run/backuppc
Installing binaries in /usr/share/backuppc/bin
Installing library in /usr/share/backuppc/lib
Installing images in /usr/share/backuppc/image
Making systemd and init.d scripts
Making Apache configuration file for suid-perl
Installing docs in /usr/share/backuppc/share/doc/BackupPC
Installing config.pl and hosts in /etc/backuppc
but even with that i see that backuppc search the config.pl in
/var/lib/backuppc/conf/
I had to link it to /etc/baclkuppc and now it start.
hope it helps some people here. If you know why it ignore --config-dir
/etc/backuppc or what i do wrong :)
regards,
Ghislain.
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/