BackupPC-users

Re: [BackupPC-users] need help with windows backup

2013-02-28 19:45:46
Subject: Re: [BackupPC-users] need help with windows backup
From: upen <upendra.gandhi AT gmail DOT com>
To: Adam Goryachev <adam AT websitemanagers.com DOT au>
Date: Thu, 28 Feb 2013 16:42:00 -0600
On Thu, Feb 28, 2013 at 3:39 PM, Adam Goryachev
<adam AT websitemanagers.com DOT au> wrote:
> Quick reply, it needs the path to at on the windows machine, not the Linux 
> machine.

wow, all this time I thought this was linux side. Thanks!!

When I do which at on windows, I see , /cygdrive/c/WINDOWS/system32/at .
Is that correct path?



>
> Hope that helps.
>
> Regards,
> Adam
>
> Sent from my mobile
> Adam Goryachev
> Website Managers
> http://www.websitemanagers.com.au
>
> On 01/03/2013, at 6:17, upen <upendra.gandhi AT gmail DOT com> wrote:
>
>> Thanks.
>>
>> On Thu, Feb 28, 2013 at 1:02 PM, Kris Lou <klou AT themusiclink DOT net> 
>> wrote:
>>> How far have you traced the script execution chain?  You should see winexe
>>> do call the appropriate scripts on the server side, and then a number of
>>> scripts also executing on the client side.
>>>
>>>>> /tmp/backuppc/preusercmd.sh: line 13: at: command not found
>>> Also, I specify the full path to "at"  for this.
>>
>> I will try the full path now. However, I did su - backuppc account on
>> backup server and noted 'at' was in the path. I will give the full
>> path a try now.
>>
>>>
>>>>> Error connecting to module C at a.b.c.d:873: auth failed on module C
>>> Check your auth.sh, and your rsyncd.conf/rsync.secrets on the client side?
>>
>> Actually, auth.sh and rsyncd.conf/rsync.secrets was configured
>> correctly. I went over that again and again. User mentioned in
>> rsyncd.conf was configured in rsync.secrets in user:pw format.  I must
>> mention, the windows client installer,  though it asked for
>> username/password, installer didn't put anything in rsync.secrets and
>> rsyncd.conf which I realized some time after installation(but before
>> posting here) and winxp was rebooted after those files were modified.
>>
>> What made the dump working for me was below two additional settings,
>> $Conf{RsyncdPasswd} = 'Ba....';
>> $Conf{RsyncdUserName} = 'backuppc';
>>
>> backuppc is the user I have in rsynced.conf/rsync.secrets/auth.sh and
>> in windowsxp's backup configuration file (.pl) where the above two
>> parameters are configured.
>>
>> I didn't see any mention of this step on the blog. I hope the two
>> parameters configured above are part of the process. If not then
>> something isn't working the way it should.
>>
>>
>>> On Thu, Feb 28, 2013 at 7:53 AM, upen <upendra.gandhi AT gmail DOT com> 
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have been trying to configure my winxp box to use the method from
>>>> http://www.michaelstowe.com/backuppc/
>>>>
>>>> I emailed the blog owner but it's possible they are busy so haven't
>>>> heard from them. Any help is appreciated.
>>>>
>>>> Here is the dump tried from command prompt.
>>>>
>>>> BackupPC_dump -v -f a.b.c.d
>>>> cmdSystemOrEval: about to system /tmp/backuppc/wol.sh -c 1 -w 3 a.b.c.d
>>>> cmdSystemOrEval: finished: got output Backuppc pinging -c 1 -w 3 a.b.c.d
>>>> PING a.b.c.d (1.2.3.4) 56(84) bytes of data.
>>>> 64 bytes from a.b.c.d (1.2.3.4): icmp_seq=1 ttl=128 time=0.367 ms
>>>>
>>>> --- a.b.c.d ping statistics ---
>>>> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
>>>> rtt min/avg/max/mdev = 0.367/0.367/0.367/0.000 ms
>>>> Previous state preserved: ON
>>>>
>>>> cmdSystemOrEval: about to system /tmp/backuppc/wol.sh -c 1 -w 3 a.b.c.d
>>>> cmdSystemOrEval: finished: got output Backuppc pinging -c 1 -w 3 a.b.c.d
>>>> PING a.b.c.d (1.2.3.4) 56(84) bytes of data.
>>>> 64 bytes from a.b.c.d (1.2.3.4): icmp_seq=1 ttl=128 time=0.353 ms
>>>>
>>>> --- a.b.c.d ping statistics ---
>>>> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
>>>> rtt min/avg/max/mdev = 0.353/0.353/0.353/0.000 ms
>>>> Previous state preserved: ON
>>>>
>>>> CheckHostAlive: returning 0.353
>>>> Executing DumpPreUserCmd: /tmp/backuppc/preusercmd.sh a.b.c.d
>>>> cmdSystemOrEval: about to system /tmp/backuppc/preusercmd.sh a.b.c.d
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Microsoft (R) Windows Script Host Version 5.7
>>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>>
>>>>
>>>> /tmp/backuppc/preusercmd.sh: line 13: at: command not found
>>>> cmdSystemOrEval: finished: got output Unknown parameter encountered:
>>>> "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Microsoft (R) Windows Script Host Version 5.7
>>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>>
>>>>
>>>> /tmp/backuppc/preusercmd.sh: line 13: at: command not found
>>>>
>>>> full backup started for directory C (baseline backup #3)
>>>> started full dump, share=C
>>>> Connected to a.b.c.d:873, remote version 30
>>>> Negotiated protocol version 28
>>>> Error connecting to module C at a.b.c.d:873: auth failed on module C
>>>> Executing DumpPostUserCmd: /tmp/backuppc/postusercmd.sh a.b.c.d 0
>>>> cmdSystemOrEval: about to system /tmp/backuppc/postusercmd.sh a.b.c.d 0
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Rsync and shadow copy unloaded
>>>> cmdSystemOrEval: finished: got output Unknown parameter encountered:
>>>> "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Unknown parameter encountered: "valid users"
>>>> Ignoring unknown parameter "valid users"
>>>> Unknown parameter encountered: "public"
>>>> Ignoring unknown parameter "public"
>>>> Unknown parameter encountered: "writable"
>>>> Ignoring unknown parameter "writable"
>>>> Rsync and shadow copy unloaded
>>>>
>>>> Got fatal error during xfer (auth failed on module C)
>>>> cmdSystemOrEval: about to system /tmp/backuppc/wol.sh -c 1 -w 3 a.b.c.d
>>>> cmdSystemOrEval: finished: got output Backuppc pinging -c 1 -w 3 a.b.c.d
>>>> PING a.b.c.d (1.2.3.4) 56(84) bytes of data.
>>>> 64 bytes from a.b.c.d (1.2.3.4): icmp_seq=1 ttl=128 time=0.376 ms
>>>>
>>>> --- a.b.c.d ping statistics ---
>>>> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
>>>> rtt min/avg/max/mdev = 0.376/0.376/0.376/0.000 ms
>>>> Previous state preserved: ON
>>>>
>>>> cmdSystemOrEval: about to system /tmp/backuppc/wol.sh -c 1 -w 3 a.b.c.d
>>>> cmdSystemOrEval: finished: got output Backuppc pinging -c 1 -w 3 a.b.c.d
>>>> PING a.b.c.d (1.2.3.4) 56(84) bytes of data.
>>>> 64 bytes from a.b.c.d (1.2.3.4): icmp_seq=1 ttl=128 time=2.75 ms
>>>>
>>>> --- a.b.c.d ping statistics ---
>>>> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
>>>> rtt min/avg/max/mdev = 2.753/2.753/2.753/0.000 ms
>>>> Previous state preserved: ON
>>>>
>>>> CheckHostAlive: returning 2.753
>>>> Backup aborted (auth failed on module C)
>>>> Not saving this as a partial backup since it has fewer files than the
>>>> prior one (got 0 and 0 files versus 0)
>>>> dump failed: auth failed on module C
>>>>
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Everyone hates slow websites. So do we.
>>>> Make your web apps faster with AppDynamics
>>>> Download AppDynamics Lite for free today:
>>>> http://p.sf.net/sfu/appdyn_d2d_feb
>>>> _______________________________________________
>>>> BackupPC-users mailing list
>>>> BackupPC-users AT lists.sourceforge DOT net
>>>> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>>>> Wiki:    http://backuppc.wiki.sourceforge.net
>>>> Project: http://backuppc.sourceforge.net/
>>>
>>>
>>
>>
>>
>> --
>> upen,
>> emerge -uD life (Upgrade Life with dependencies)
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_feb
>> _______________________________________________
>> BackupPC-users mailing list
>> BackupPC-users AT lists.sourceforge DOT net
>> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> Wiki:    http://backuppc.wiki.sourceforge.net
>> Project: http://backuppc.sourceforge.net/



-- 
upen,
emerge -uD life (Upgrade Life with dependencies)

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/