BackupPC

From ArchWiki
Revision as of 07:36, 7 April 2009 by Samox86 (Talk | contribs)

Jump to: navigation, search


Overview

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.

Installation

Create the the backuppc user

Install the package

Use pacman to install the package.

yaourt -S backuppc
chown -R backuppc:nobody /var/log/BackupPC

Running BackupPC

Start BackupPC

To manually start BackupPC issue this command.

/etc/rc.d/backuppc start


Make BackupPC run at startup

To make BackupPC load at startup edit /etc/rc.conf and add it to DAEMONS.

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

Apache Configuration

BackupPC has a web interface that allows you to control it. It required Apache and mod_perl.

Install Apache and mod_perl

pacman -S apache
pacman -S mod_perl

Edit Apache configuration

You can edit the apache configuration file to change the port number, etc.

nano /etc/httpd/conf/backuppc-httpd.conf

Add following lines if you already use apache before

LockFile "/var/lock/backuppc-httpd.lock"
PidFile "/var/run/httpd/backuppc-httpd.pid"


Starting Apache manually

/etc/rc.d/backuppc-httpd start

Starting Apache on boot

Add the backuppc-http daemon to rc.conf

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

Browse to http://localhost:81/cgi-bin/BackupPC_Admin

Useful links