From ArchWiki
Revision as of 02:35, 10 October 2007 by Dtandersen (talk | contribs)
Jump to: navigation, search


BackupPC is a high-performance, enterprise-grade system for backing up Unix, Linux, WinXX, and MacOSX PCs, desktops and laptops to a server's disk. BackupPC is highly configurable and easy to install and maintain.

Given the ever decreasing cost of disks and raid systems, it is now practical and cost effective to backup a large number of machines onto a server's local disk or network storage. For some sites this might be the complete backup solution. For other sites additional permanent archives could be created by periodically backing up the server to tape.


Create the the backuppc user

BackupPC should run under the backuppc user. To add the user run:

useradd backuppc

Install the package

Use pacman to install the package.

pacman -S BackupPC

Edit the config file

nano /etc/BackupPC/

Running BackupPC

Start BackupPC

/etc/rc.d/backuppc start

Stop BackupPC

/etc/rc.d/backuppc stop

Make BackupPC run at startup

Edit /etc/rc.conf and change the DAEMONS line.

nano /etc/rc.conf
DAEMONS=(... backuppc ...)

Apache Setup

Edit the apache configuration file and activate mod_perl

nano /etc/httpd/httpd.conf
LoadModule perl_module modules/
PerlModule Apache2

Then add a directory defintion.

<Directory /opt/BackupPC/cgi-bin>
  SetHandler perl-script
  PerlResponseHandler ModPerl::Registry
  PerlOptions +ParseHeaders
  Options +ExecCGI
  Order deny,allow
  Deny from all
  Allow from 192.168.1
  #AuthName "Backup Admin"
  #AuthType Basic
  #AuthUserFile /path/to/user_file
  #Require valid-user

Useful links