I have it pretty much working now. This is what I had to do.
1. Install
backuppc and optionally
rsync...
2. Install missing dependencies
bzip2 fcgi
3. Make user
_backuppc following FreeBSD default, optionally using chpass after initial creation:
UID: 300
GID: 300
Full Name: BackupPC pseudo-user
Home Dir: /var/db/backuppc
Shell: /sbin/nologin
4. chown _backuppc:_backuppc recursively on:
/etc/backuppc
/var/db/backuppc
/var/log/backuppc
5. Move /var/www/conf/modules.sample/backuppc.conf to /var/www/conf/modules/backuppc.conf
(Make sure you did what it said after the installation for the other packages)
6. Add the following to the "<Location>..." in
backuppc.conf (we need to be able to login):
Code:
AuthType Basic
AuthUserFile /conf/users/backuppc
AuthName "BackupPC"
require valid-user
(It is setup to work with chrooted httpd)
7. Make a user:
Code:
htpasswd -c /var/www/conf/users/backuppc username
8. Make sure you have the user in /etc/backuppc/hosts
9. Start services on boot. Add the following to rc.conf.local:
Code:
httpd_flags=""
pkg_scripts="backuppc wwbackuppc"
10. Configure BackupPC. You might want to make your BackupPC user an administrator for the web interface.