SUNScholar/Disaster Recovery/Backups/Server Setup

Back to Disaster Recovery Backups

Enable "rsync" connections to the backup server
sudo apt-get install ufw sudo ufw allow ssh sudo ufw enable sudo ufw allow from %client-ipaddress% to any sudo rsync %client-ipaddress%::backup You should get a listing of the backup files in the clients /var/backup folder.
 * Install the firewall service:
 * Add a firewall rule for secure remote connections:
 * Enable the firewall as follows:
 * Create a firewall rule for each client to be backed up as follows:
 * Now test your rsync connection to each client as follows:

Install "backuppc" server
sudo apt-get install backuppc sudo apt-get install apache2 apache2-utils sudo ln -s /etc/backuppc/conf-available backuppc.conf (See note below) Please note: With Ubuntu 14.04, this is not needed, instead type "a2enmod cgi" and then type "a2enconf backuppc". sudo cd /etc/apache2/conf.d (See note below) Please note: With Ubuntu 14.04, this is not needed. sudo service apache2 restart sudo htpasswd /etc/backuppc/htpasswd backuppc (See note below) You will be prompted to enter a password twice.
 * If the above is successful then install backuppc on the server as follows:
 * BackupPC has a web interface which you enable as follows:
 * For Ubuntu 14.04
 * For Ubuntu 12.04
 * Now we add an admin backuppc user as follows:

Setup "backuppc" server
http://%my-backup-server/backuppc You will be prompted for the username and password that you set up above.
 * Now open a web browser and type the following into the address bar:

After logging in and clicking on "Host Summary", you should be presented with a screen like the following:




 * Now setup backuppc by adding host configurations. There is plenty of backuppc documentation on the internet.

However, below is an example screenshot of the critical configuration, Xfer settings, that are done per host. Check out highlighted boxes in red.



Continue to setup backuppc as needed. That's it.