On Thu, Feb 28, 2013 at 2:21 PM, Kris Lou <k...@themusiclink.net> wrote: > auth.sh needs to contain a valid user for the client machine (usually with > administrative privileges), as compared to the rsyncd user auths. It is > then used to remotely kick off scripts on the client side (as the user > specified in auth.sh).
Thanks for that information. > > Kris Lou > k...@themusiclink.net > > > On Thu, Feb 28, 2013 at 11:17 AM, upen <upendra.gan...@gmail.com> wrote: >> >> Thanks. >> >> On Thu, Feb 28, 2013 at 1:02 PM, Kris Lou <k...@themusiclink.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.gan...@gmail.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@lists.sourceforge.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) > > -- 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@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/