Revision 5 as of 2008-06-04 08:28:22

Clear message

Introduction

This howto is intended to be a more detailed extension BackupPC howto. This howto will be focused on setting up a "BackupPC server" and windows clients based on the "smb" protcol

Install

Install BackupPC on your ubuntu linux server/desktop

sudo apt-get install backuppc

You willl be asked a few questions:

Workgroup/Domain Name: 
Modify smb.conf to use WINS settings from DHCP? <-- No 

you could answer WORKGROUP (in fact, it doesn't matter what you enter here)

Then you will see this message:

Web administration default user created

BackupPC can be managed through its web interface:
http://server1.example.com/backuppc/

For that purpose, a web user named 'backuppc' with 'dAamcQIH' as password has been created. You can change this password by running 'htpasswd /etc/backuppc/htpasswd backuppc'.

Hit enter

Change Password

Please make a note of the web frontend password (dAamcQIH in this case) for the user backuppc. If you don't like the password, you can change it by running

htpasswd /etc/backuppc/htpasswd backuppc

Network

It's assumed that your network has been set up pluged in correctly. To check and find hosts run the following

smbtree -b
Password:

Don't enter a password, hit enter

WORKGROUP
        \\BACKUP                        backup server (Samba, Ubuntu)
                \\BACKUP\IPC$                   IPC Service (backup server (Samba, Ubuntu))
                \\BACKUP\print$                 Printer Drivers
        \\AMD6000
cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine AMD6000.  Error was NT_STATUS_ACCESS_DENIED

Your network will differ, BACKUP is the name of our BackupPC server, AMD6000 is the name of our Windows Vista PC we want to back up.

It is advisiable to keep your clients (Hosts) on the same Domain. In this example it is "WORKGROUP"

If you can't browse your network at this stage your should correct the error before continuing

Web Connection

At this stage you should be able to connect to you BackupPC server via your web browser.

Then open a browser and type in http://192.168.0.51/backuppc/ (or http://server1.example.com/backuppc/ if you have a proper DNS record for server1.example.com in your network). If you get a login prompt, everything is fine, if not (like on my installation), run this command:

dpkg-reconfigure backuppc

You will see this question:

Add aliases for /backuppc/ to your apache config files ? <-- Yes 

Afterwards, go to http://192.168.0.51/backuppc/ again and log in with the username backuppc and backuppc's password:

attachment:login.jpg


CategoryDocumentation