Backup PC Notes

These are my notes on the BackupPC setup on Ubuntu 12.04. This post is not a good read, feel free to skip it.

Installing BackupPC

sudo apt-get install backuppc

Be sure to note the password that is setup during the install, this can later be changed by running the following command.

htpasswd /etc/backuppc/htpasswd backuppc

You can find the web admin area for BackupPC at http://ipaddress/backuppc. Most everything you would need to do can be handled for the web admin area except for completely removing a server from backups. In order to do that, the server must be removed from the hosts and then the files must be deleted from backuppc file system.The files are located in /var/lib/backuppc/pc.

To add hosts directly to the hosts file

sudo nano /etc/backuppc/hosts

To see the current config:

cat /etc/backuppc/config.pl

To restart backuppc service (to reload configs for example):

/etc/init.d/backuppc (start|stop|restart|reload)

To run the BackupPC nightly process manually:

/usr/share/backuppc/bin/BackupPC_nightly 0 255

To remove a backuppc PC Directory and everything in it

rm -r /varl/lib/backuppc/pc/pcname