Install BackupPC: Difference between revisions
From Andreida
(Created page with "Get the package and some others to help: apt-get install backuppc libfile-rsyncp-perl par2 bzip2 libarchive-tar-perl libcompress-zlib-perl \ libcompress-bzip2-perl libapac...") |
(No difference)
|
Latest revision as of 11:45, 16 February 2016
Get the package and some others to help:
apt-get install backuppc libfile-rsyncp-perl par2 bzip2 libarchive-tar-perl libcompress-zlib-perl \ libcompress-bzip2-perl libapache-mod-gzip libxml-rss-perl libfile-rsyncp-perl
Create a virtual host for apache 2:
<VirtualHost IP:PORT>
ServerName backuppc.YOUR-DOMAIN
DocumentRoot /usr/share/backuppc/cgi-bin/
Alias /backuppc /usr/share/backuppc/cgi-bin/
<Directory /usr/share/backuppc/cgi-bin/>
AllowOverride None
Options ExecCGI FollowSymlinks
AddHandler cgi-script .cgi
DirectoryIndex index.cgi
AuthGroupFile /etc/backuppc/htgroup
AuthUserFile /etc/backuppc/htpasswd
AuthType basic
AuthName "BackupPC admin"
require valid-user
</Directory>
</VirtualHost>
Goto the management site: http://YOUR-DOMAIN/backuppc