Ubuntu and Backuppc

home | blog | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts


- Careful Chrome users, this search box might be "Not secure"


If you want the web interface to work,

you need to append the changes from:

/etc/backuppc/apache2.conf to /etc/apache2/apache2.conf

and hup apache.


If you wish to actually backup etc from localhost on Ubuntu:

Change the items listed below

visudo - end of file:
# added to get backuppc to be able to run the localhost backup as root
backuppc ALL = NOPASSWD: /bin/tar

/etc/backuppc/local.pl (comment out the existing TarClientCmd line and use this one):

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c -v -f - -C $shareName'
                        . ' --totals';



If you find that your rsync backup is not working, try this:
sudo -u backuppc /usr/share/backuppc/bin/BackupPC_dump -v -f machinenameorip

You should be able to see what is going on during the session.
Make sure you have the keys in place for backup via rsync over ssh.



If you want to backup a directory via Rsync and there is a space in the name, try this 1-2 punch:
$Conf{RsyncShareName} = '/';
$Conf{BackupFilesOnly} = ['/path1', '/path2', '/Shared Items'];



[æ]