Hi there,

the infinite loop is not really a problem. it works. the same happened with the debian-version of 3.x

But

the package does not install all required stuff:

the following was missing and needed to be installed after installation on debian 11:

- smbclient
- samba-common-bin


only after i installed this, the backuppc-service was able to start.

you should also install

certbot python3-certbot-apache

and create lets encrypt certs, so that backuppc is running on https..

after that you need to set the following in the file:

/etc/apache2/conf-enabled/backuppc.conf

Alias /backuppc /usr/share/backuppc/cgi-bin/

<Directory /usr/share/backuppc/cgi-bin/>
        AllowOverride None

# Uncomment the line below to ensure that nobody can sniff important # info from network traffic during editing of the BackupPC config or
        # when browsing/restoring backups.
# Requires that you have your webserver set up for SSL (https) access.
        SSLRequireSSL

        Options ExecCGI FollowSymlinks
        AddHandler cgi-script .cgi
        DirectoryIndex index.cgi

        AuthUserFile /etc/backuppc/htpasswd
        AuthType basic
        AuthName "BackupPC admin"

        <RequireAll>
# Comment out this line once you have setup HTTPS and uncommented SSLRequireSSL
                #Require local

# This line ensures that only authenticated users may access your backups
                Require valid-user
        </RequireAll>
</Directory>


you see i removed the # in front of SSLRequireSSL

and put a # in front of Require local

Have fun!

Greetings

Marcel



Am 09.09.21 um 18:18 schrieb Juergen Harms:
> Hallo
>
> I had planned to migrate from my present distro (my present system runs
> a correct backuppc 4 installation), and had delayed my move until the
> release of Debian-11.
>
> I am deceived - the backuppc package in Debian-11 does not look solid:
> - /etc/backuppc/pc (immediately after installation) is a link to
> /etc/backuppc: an infinite loop
> - if, to make a fresh start, I remove the backuppc package I had
> installed (remove backuppc followed by autoremove and rm -rf
> /etc/backuppc) and do a fresh install, the directory /etc/backuppc will
> have incorrect contents (only htpasswd and pc).
>
> That looks like packaging has not been followed by thorough testing.
>
> The recent post ("backuppc 4 fails without any log") might fall under
> the same heading (rpi4 probably means raspberry, i.e. Debian).
>
> Did anybody have success making this Debian package work on his
> installation?
>
> Juergen
>
>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
--


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to