JWK - Jackall's IT Wiki

Sécurité, Système, Réseau

Outils pour utilisateurs

Outils du site




BackupPC is a GNU/Linux pull based backup software.

It comes with an WebUI allowing you to easily schedule backups



BackupPc works with:

It support full and incremental backup and the following protocols:

  • rsync
  • rsyncd
  • samba / CIFS
  • tar

Web User Interface

Backuppc perl Web UI allow you to schedule, configure and also to handle restorations.


Set up and configuration on GNU/linux

Here on Ubuntu Ubuntu

aptitude install backuppc

A password will be generated during configuration, allowing you to access Web UI.

  • Apache Web server Configuration
cp /etc/backuppc/apache.conf  /etc/apache2/sites-available/backuppc.conf
cd /etc/apache2/sites-enabled/
ln -s ../sites-available/backuppc.conf .
/etc/init.d/apache2 reload

Backup Configuration


  • You have to use DNS or /etc/hosts file to access remote servers.
root@MC:~# cat /etc/hosts	localhost	MC	ace-linux
  • Create a system account for backup purpose only (server side)

Generate a RSA key Pair, that will be used to connect without password.

root@MC:/tmp# su - backuppc
$ bash
backuppc@MC:~$ ssh-keygen  -t rsa -b 2048

On each remote server (backup clients)

  • Create a specific user.
adduser backup 
  • Configure sudo to give required rights

backuppc  ALL=NOPASSWD:/usr/bin/rsync
#Defaults    requiretty

<note important>Note the comment on requiretty</note>

On backupPc server

backuppc@MC:~$ssh-copy-id  backup@ace-linux
  • On the WebUI modify RsyncClientCmd variable
$sshPath -q -x -l backuppc $host /usr/bin/sudo $rsyncPath $argList+
  • Do the same for restoration commands


backuppc.txt · Dernière modification: 2018/02/18 16:01 (modification externe)