From: upen <upe...@gm...> - 2013-02-28 18:31:06
|
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. |
From: Les M. <les...@gm...> - 2013-02-28 19:03:17
|
On Thu, Feb 28, 2013 at 9:53 AM, upen <upe...@gm...> wrote: Not sure I can help much with specifics here, but I think those 'Unknown parameter' errors are harmless and from a samba4 based winexe seeing your samba3 configs. > 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 That seems odd. I don't see an 'at' command in the version of the script I found. And most systems should have an 'at' in the path anyway. > 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 And this may be your real problem. Does your authentication work if you just back up the normal C$ share without the VSS stuff? -- Les Mikesell les...@gm... |
From: upen <upe...@gm...> - 2013-02-28 21:59:51
|
> And this may be your real problem. Does your authentication work if > you just back up the normal C$ share without the VSS stuff? This is the think I should have had tried before (without VSS). I was using cygwin/ssh/rsync method before, came to know from other discussion that it doesn't use vshadow/VSS, so I just ditched that and configured from fresh as in Michae's blog w/o paying much attention to how it works or how I could have avoided VSS. That's good point to know for future. I guess one can avoid using VSS by not using those pre and post scripts on BackupPC server side? or windows side will need to be modified in that case? Also, would like to know from others if they can help me with 'at' issue. Thanks! This software is cool! I mean BackupPC :) On Thu, Feb 28, 2013 at 12:53 PM, Les Mikesell <les...@gm...> wrote: > On Thu, Feb 28, 2013 at 9:53 AM, upen <upe...@gm...> wrote: > > Not sure I can help much with specifics here, but I think those > 'Unknown parameter' errors are harmless and from a samba4 based winexe > seeing your samba3 configs. > >> 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 > > That seems odd. I don't see an 'at' command in the version of the > script I found. And most systems should have an 'at' in the path > anyway. > >> 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 > > And this may be your real problem. Does your authentication work if > you just back up the normal C$ share without the VSS stuff? > > -- > Les Mikesell > les...@gm... -- upen, emerge -uD life (Upgrade Life with dependencies) |
From: Kris L. <kl...@th...> - 2013-02-28 19:04:52
|
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. >>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? Kris Lou kl...@th... On Thu, Feb 28, 2013 at 7:53 AM, upen <upe...@gm...> 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 > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > |
From: upen <upe...@gm...> - 2013-02-28 21:35:21
|
Thanks. On Thu, Feb 28, 2013 at 1:02 PM, Kris Lou <kl...@th...> 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 <upe...@gm...> 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 >> Bac...@li... >> 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) |
From: Kris L. <kl...@th...> - 2013-03-01 03:48:38
|
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). Kris Lou kl...@th... On Thu, Feb 28, 2013 at 11:17 AM, upen <upe...@gm...> wrote: > Thanks. > > On Thu, Feb 28, 2013 at 1:02 PM, Kris Lou <kl...@th...> 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 <upe...@gm...> 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 > >> Bac...@li... > >> 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) > |
From: upen <upe...@gm...> - 2013-02-28 23:33:29
|
On Thu, Feb 28, 2013 at 2:21 PM, Kris Lou <kl...@th...> 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 > kl...@th... > > > On Thu, Feb 28, 2013 at 11:17 AM, upen <upe...@gm...> wrote: >> >> Thanks. >> >> On Thu, Feb 28, 2013 at 1:02 PM, Kris Lou <kl...@th...> 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 <upe...@gm...> 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 >> >> Bac...@li... >> >> 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) |
From: Kris L. <kl...@th...> - 2013-03-01 00:20:34
|
The thing that I liked about this implementation (and had it bookmarked for over a year before putting in place) is that it was relatively easy to parse out with a minimum of shell scripting knowledge. As such, it is easier to comprehend for somebody with a predominantly Windows background. (Not a knock on Shadowmountrsync, just my comprehension at the time. Speaking of which, Jeff posted an update to the shadowmountrsync script to the list recently, if you're interested) Anyways, since the scripts aren't very long, it makes it easier to understand the chain of events that make it all happen as there isn't a ton to debug. Kris Lou kl...@th... On Thu, Feb 28, 2013 at 2:32 PM, upen <upe...@gm...> wrote: > On Thu, Feb 28, 2013 at 2:21 PM, Kris Lou <kl...@th...> 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 > > kl...@th... > > > > > > On Thu, Feb 28, 2013 at 11:17 AM, upen <upe...@gm...> wrote: > >> > >> Thanks. > >> > >> On Thu, Feb 28, 2013 at 1:02 PM, Kris Lou <kl...@th...> > 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 <upe...@gm...> > 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 > >> >> Bac...@li... > >> >> 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) > |
From: upen <upe...@gm...> - 2013-03-01 00:10:46
|
On Thu, Feb 28, 2013 at 9:53 AM, upen <upe...@gm...> 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 > ---------- Looks like I found a way to progress. I noticed other settings in BackupPc web interface for windowx xp box and I found 'RsyncAuthRequired' was checked but RsyncdUserName and RsyncdPasswd were empty. Didn't realize I had to mention username and password there. After editing those values and saving configuration, the command line dump seems to be progressing. ull backup started for directory C (baseline backup #3) started full dump, share=C Connected to host225.ent.iit.edu:873, remote version 30 Negotiated protocol version 28 Connected to module C Sending args: --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --specials --checksum-seed=32761 --ignore-times . . Checksum caching enabled (checksumSeed = 32761) Sent exclude: /Documents and Settings/*/Cookies Sent exclude: /Documents and Settings/*/Local Settings/Temporary Internet Files Sent exclude: /Documents and Settings/*/Local Settings/Temp ...so on.. ---------- I do have ONE issue though, I am not sure why I get this message : " 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 " <-----at is installed. cat /tmp/backuppc/preusercmd.sh --> #!/bin/bash WINEXE=/usr/bin/winexe #. /etc/backuppc/scripts/auth.sh BOX=$1 $WINEXE --interactive=0 -U $UNAME -W $WRKGRP --password=$PWD //$BOX 'cmd /c c:\backuppc\pre-exec.cmd' <&- pid=$! # Wait 5 minutes echo $pid echo "sleep 300; kill $pid > /dev/null 2>&1" | at now wait $pid &> /dev/null if [ $? -ne 143 ]; then exit 100 fi sleep 5 echo "Rsync and shadow copy loaded" exit 0 # kill $$ # That should kill us -- upen, emerge -uD life (Upgrade Life with dependencies) |
From: upen <upe...@gm...> - 2013-03-01 00:44:31
|
On Thu, Feb 28, 2013 at 3:39 PM, Adam Goryachev <ad...@we...> 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 <upe...@gm...> wrote: > >> Thanks. >> >> On Thu, Feb 28, 2013 at 1:02 PM, Kris Lou <kl...@th...> 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 <upe...@gm...> 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 >>>> Bac...@li... >>>> 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 >> Bac...@li... >> 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) |
From: Adam G. <mai...@we...> - 2013-03-01 07:46:12
|
On 01/03/13 09:42, upen wrote: > On Thu, Feb 28, 2013 at 3:39 PM, Adam Goryachev > <ad...@we...> 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? Sorry, I replied before quickly from my mobile... It could also be C:\Windows\system32\at depending on whether it runs from a cygwin shell, or runs from a windows command prompt. A little trial and error might be needed, or careful examination of the logs. Basically the linux machine runs a command on windows, which doesn't have permission to take the snapshot, so it creates a task to run shortly (using at) which will setup the vss/snapshot. Hope this helps.... Regards, Adam -- Adam Goryachev Website Managers www.websitemanagers.com.au |