Inline. On Wed, Feb 13, 2013 at 7:11 PM, <[email protected]> wrote: > > > Well, it's a bit confusing since you seem to be mixing the log file > with stuff from your console... > > But shadowmountrsync does seem to be running successfully, launching > the appropriate vss, dosdev & rsyncd apps and then unwinding the > recursion and (presumably) exiting with exit code 0. > > First, what version of shadowmountrsync are you using? > My latest version (0.4.8) has some neat features like passing back the rsyncd > secret so it doesn't have to be stored in the config file... though it > requires some perl magic in the config file and a patch to a bug in > backuppc....
0.4.5.2 is the latest I can find. http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=User_Scripts_-_Client_-_Windows_VSS > > Second, what ssh string are you using in the config file for DumpPreUserCmd? > > To troubleshoot, I would try doing the following: > First, run shadowmountrsync *directly* on the client from say a cygwin > terminal: > /usr/local/bin/shadowmountrsync -u 1 -A 3 > Check that it runs, sets up the shadow mounts, associates the drive > letters, launches rsyncd, and TERMINATES. Check the exit code (echo > $?) Works. Terminates, and exits 0 with rsyncd running. > > Then try running it from your server using the ssh command (without > BackupPC). > e.g., > ssh -q -x -l user@client "/usr/local/bin/shadowmountrsync -u 1 -A 3" > > Again check your client to see what is happening the log and that the > above behaviors all occur properly. See if the ssh call terminates > (which it should if the shadowmountrsync script terminates). If it > does, see what shadowmountrsync returns by checking the ssh exit code > (echo $?) When I connect via ssh with this command: ssh -q -x [email protected] "/usr/local/bin/shadowmountrsync -u 1 -A 3" It hangs. Below is the log file. Rsync is running. --Successfully unwound shadow recursion...[Pass #0] --Termination completed...[Pass #0] [02/20/13 18:30:42] [2924|3172][svc_autobackup||svc_autobackup|svc_autobackup] /usr/local/bin/shadowmountrsync -d [Pass #0] ***Terminating and cleaning up shadows, mounts, and locks (PID=3172)...[Pass #0] --Manually clean up...[Pass #0] ..Finished clean_up... [Pass #0] --Termination completed...[Pass #0] [02/20/13 18:32:40] [2148|3840][svc_autobackup||svc_autobackup|svc_autobackup] /usr/local/bin/shadowmountrsync -u 1 -A 3 [Pass #1] ***Initial pass through (PID=3840)...[Pass #1] ..Finished clean_up... [Pass #1] --Starting ACL backup for volumes: E: [Pass #1] ..Finished ACL backup for volumes: E: [Pass #1] --Relaunching via 'cmd.exe'...[Pass #1] --Initial pass going into background waiting for setup to complete...[Pass #1] [02/20/13 18:32:46] [1|3268][svc_autobackup||svc_autobackup|svc_autobackup] /usr/local/bin/shadowmountrsync -2 -u 1 -A 3 [Pass #2] **Running inital shadow setup (PID=3268)...[Pass #2] --Starting shadow copy and waiting for 'exec' script to terminate...[Pass #2] [02/20/13 18:32:49] [1|1388][svc_autobackup||svc_autobackup|svc_autobackup] /usr/local/bin/shadowmountrsync -3 -2 -u 1 -A 3 [Pass #3] **Running exec command spawned by vshadow (PID=1388)...[Pass #3] ..Drive letters=Z [Pass #3] ..Shadow mounts=E: [Pass #3] Z:->E: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy30 Z: on /shadow/Z type ntfs (binary,user) --Starting rsyncd daemon (with shadow mounts) and waiting for file transfer to complete...[Pass #3] ..Rsyncd Params: Conf=/etc/rsyncd.conf Address= Port= BWLimit= Other=...[Pass #3] ..Rsyncd started successfully (PID=2712)...[Pass #1] ------------------------------------------------------------------------------ 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 [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
