Install BackupPC

From Andreida
Jump to navigation Jump to search

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

Goto the management site: http://YOUR-DOMAIN/backuppc