Wednesday, January 8, 2014

BackupPC - Enterprise backup system

BackupPC is an enterprise level backup service with features of scheduling full or incremental backup over different protocols like rsync, samba, tar with ssh as well ftp for linux as well windows system.

Installation of BackupPC in Ubuntu 12


root@server-82:~# apt-get install backuppc
Reading package lists... Done
Building dependency tree
Reading state information... Done
backuppc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
You have new mail in /var/mail/root


As it has been already setup, got messaged of already setup the newest version :)


While installation, it will ask for configuring mail servers to send notification and alerts so i have leave it to you as per your need and didnot described here. 

BackupPC uses a system user called "backuppc" to perform its tasks.

In addition, it configures an Apache user, also called "backuppc", with a randomly generated password, which was given briefly during installation. We can change this password to something more meaningful by typing:

htpasswd /etc/backuppc/htpasswd backuppc

You will be asked to give and confirm a new password.


Once setup is done, you can open browser with http://ipaddress/backuppc
 Please use username backuppc and password as given above in prompt or random password generated if not changed.

 Regards protocols, rsync is used for backup of clients systems while samba is used for windows. Here i am describing ftp protocol which can be used for both systems :)

Adding Clients/Hosts



Please enter the ipaddress in the host field or fully qualified hostname.


Selecting Transfer Protocols



In Xfer Setting, choose ftp as Xfermethod with ftpusername and password with ftpsharename (generally / is given).  You can set other paramenters as per your need. You can also exclude the files that you donot want to backup by extensions as well. You can use Schedule tab for automaking scheduling backup as per your parameters.

Backup Details




Under Hosts, you can select the host/client tab and see the details. 1st you have to start with full backup by clicking Start Full Backup. Once backup is done, you can see the backup details here.


 Few issues has been seen with Ubuntu 12  like 

Use of qw(...) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
Use of qw(...) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.

for which patch can be downloaded from here

http://www.tolaris.com/2012/05/17/backuppc-on-ubuntu-12-04/






No comments :

Post a Comment