I can't backup my data by web but I can do it by command.

File /etc/backuppc/hosts
<-------------------------------------------------------------
host        dhcp    user    moreUsers
localhost   0       backuppc
aor-laptop   1      aor   //dhcp
------------------------------------------------------------->
I test by:
nmblookup aor-laptop  output look like this:
<-------------------------------------------------------------
querying aor-laptop on 192.168.1.255
192.168.1.52 aor-laptop<00>
------------------------------------------------------------->
and nmblookup -A 192.168.1.52

<---------------------------------------------------------------------------------------
Looking up status of 192.168.1.52
        AOR-LAPTOP      <00> -         B <ACTIVE>
        AOR-LAPTOP      <03> -         B <ACTIVE>
        AOR-LAPTOP      <20> -         B <ACTIVE>
        SRIRACHA        <1e> - <GROUP> B <ACTIVE>
        SRIRACHA        <00> - <GROUP> B <ACTIVE>

        MAC Address = 00-00-00-00-00-00
 
------------------------------------------------------------------------------------->

and in /etc/backuppc/config.pl
I replace $host with $hostIP in $Conf{RsyncClientCmd} and
$Conf{RsyncClentRestoreCmd}
and restart backuppc by /etc/init.d/backuppc restart

file /etc/backuppc/aor-laptop.pl
<---------------------------------------------------------------------------------
#
# Local server backup of /etc as user backuppc
#
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = ['/etc'];
---------------------------------------------------------------------------------->

Afterwards I go to http://localhost/backuppc.

Host aor-laptop Backup Summary display:
    * This PC is used by aor.
    * Last status is state "idle" as of 11/16 01:00.
    * Pings to aor-laptop have failed 22 consecutive times.

And then I click Start Fulll Backup and output look like this :

Error: Can't find IP address for aor-laptop
aor-laptop is a DHCP host, and I don't know its IP address. I checked the
netbios name of 192.168.1.20, and found that that machine is not aor-laptop.
Until I see aor-laptop at a particular DHCP address, you can only start this
request from the client machine itself.

but I backup by command : sudo -u backuppc
/usr/share/backuppc/bin/BackupPC_dump -vf aor-laptop
it show NetBiosInfoGet: success, returning host aor-laptop, user aor-laptop
full backup complete.



-- 
_/|\_ Anchalee Ketjarung. Open Source Development Co., Ltd.
Tel: +66 38 311816, Fax: +66 38 773128, http://www.osdev.co.th/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to