Deploying Suse Linux Enterprise Server
| Purchase "Deploying Suse Linux Enterprise Server" at Lulu.com |
Deploying BackupPC on SLES
- Introduction
- Installing and Configuring SLES for BackupPC
- Installing BackupPC
- Configuring Clients to Backup
- Working with the Web Interface
- Configuring BackupPC for Archiving Clients
- Finishing Up
Finishing Up
Now that your BackupPC server is operational, there are a few things you will want to do to finish up, namely adjust all permissions so that no unauthorized access can be easily obtained. To adjust the permissions, follow these commands:
chown backuppc:www /srv/backuppc -R chmod o-rwx /srv/backuppc -R chown backuppc:www /etc/BackupPC -R chmod o-rwx /etc/BackupPC -R chown backuppc:www /srv/www/cgi-bin -R chmod o-rwx /srv/www/cgi-bin -R
Tips and Tricks
This section will be adjusted to add any answers to any questions that I may receive about this article. If you run into any problems email me at mpetersen71@gmail.com and I will either fix this article or add to this section if I can answer your questions.
Re-iterating How to Add User to Web Interface
In case you missed it in the article here is how to add every user that you will want to have access to the BackupPC Web Interface to the /srv/backuppc/password.file - to do this you simply run the following command:
htpasswd2 -c /srv/backuppc/password.file adminuser
to add the first user and any additional users can be added with:
htpasswd2 /srv/backuppc/password.file username
Be sure to adjust permission on the /srv/backuppc/password.file after it is created (see above).
Resolving Host not Found and other Issues
Most Host Not Found Issues are the result of not having a proper DNS server for your network. To work aroung this issue I recommend simply adding an entry to the /etc/hosts file on the BackupPC server that points to the correct client. It should look something like:
10.0.0.5 files.pcc-services.com 10.0.0.5 www.pcc-services.com
This usually only comes up when using the Rsync communication options. For advanced use, you can also separate your host into different backups using different hostnames (while specifying them in the /etc/hosts file). For instance if you have accounting information on the same server as office documents, you may want to separate the host into "office" and "accounting" so that "office" backup users won't have access to the "accounting" files.
Finally if you are having communication errors with Windows machines, ensure that you open the correct ports in the Windows Firewall, or disable it completely.
| Purchase "Deploying Suse Linux Enterprise Server" at Lulu.com |

