This release contains several new features and some bug fixes. New features include: - any full/filled backup can be marked for keeping, which prevents any expiry or deletion - any backup can be annotated with a comment (eg, "prior to upgrade of xyz") - added metrics CGI that replaces RSS and adds Prometheus support - tar XferMethod now supports xattrs and acls - rsync XferMethod now correctly supports xattrs on directories and symlinks - nightly pool scanning now verifies the md5 digests of a configurable fraction of pool files - code runs through perltidy so format is now uniform
39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
# $NetBSD: backuppc.conf,v 1.3 2020/10/20 22:16:16 tnn Exp $
|
|
#
|
|
# BackupPC sample configuration file fragment for Apache.
|
|
#
|
|
# Note that you have to perform some manual steps to make this work:
|
|
#
|
|
# 1) Install the setuid cgi-bin wrapper binary:
|
|
#
|
|
# gcc -o @PREFIX@/share/BackupPC/htdocs/BackupPC_Admin.cgi \
|
|
# @PREFIX@/share/examples/BackupPC/cgiwrapper.c
|
|
# chown @BACKUPPC_USER@:@APACHE_GROUP@ \
|
|
# @PREFIX@/share/BackupPC/htdocs/BackupPC_Admin.cgi
|
|
# chmod 4510 @PREFIX@/share/BackupPC/htdocs/BackupPC_Admin.cgi
|
|
#
|
|
# 2) Set an admin password:
|
|
#
|
|
# htpasswd -c @PKG_SYSCONFDIR@/htpasswd admin
|
|
# chmod 400 @PKG_SYSCONFDIR@/htpasswd
|
|
# chown @APACHE_USER@:@APACHE_GROUP@ @PKG_SYSCONFDIR@/htpasswd
|
|
#
|
|
# 3) Edit @PKG_SYSCONFDIR@/config.pl and add the
|
|
# admin user to $Conf{CgiAdminUsers}.
|
|
|
|
<IfModule mod_alias.c>
|
|
Alias /BackupPC "@PREFIX@/share/BackupPC/htdocs/"
|
|
</IfModule>
|
|
|
|
<Directory "@PREFIX@/share/BackupPC/htdocs">
|
|
AddHandler cgi-script .cgi
|
|
DirectoryIndex BackupPC_Admin.cgi
|
|
Options ExecCGI
|
|
AuthUserFile @PKG_SYSCONFDIR@/htpasswd
|
|
AuthType basic
|
|
AuthName "BackupPC login"
|
|
<RequireAll>
|
|
require all granted
|
|
require valid-user
|
|
</RequireAll>
|
|
</Directory>
|