Install BackupPC

From Andreida
Revision as of 11:45, 16 February 2016 by Andreas (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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