Dan Johansson <[email protected]> wrote on 10/27/2013 02:26:06 PM:
> > Have you checked the Event Viewer? It usually shows you what's going
on
> > with rsync...
This seemed to have gotten missed. Is there anything in there? Rsync is
usually pretty expressive in the Event Viewer...
Also, someone else mentioned about the possibility of suspend/hibernate. I
don't back up clients, so all of my servers are up 24/7. I'd look
carefully into that: I've found way too many applications that are
unhappy about power saving.
> Tim, do you mind sharing the CMD-file?
Literally about 30 seconds of effort went into it... My rsync daemon is
installed in a directory called rsyncd and contains folder: bin (which
contains rsync.exe and needed DLL's), log (which contains the log, .pid,
.lock, etc.), and etc (which contains rsyncd.conf and .secrets)
@ECHO OFF
REM Start Rsync Daemon v2
IF EXIST rsync.exe GOTO PATH_OK
ECHO You must start this script in the same directory as rsync.exe.
GOTO END
:PATH_OK
DEL ..\log\rsyncd.pid
START rsync.exe --config=..\etc\rsyncd.conf --daemon --no-detach
:END
I'm not worried about deleting an active .pid file (if it's even possible)
because I don't use it for anything, and if a second rsync daemon tries to
start it won't because it won't be able to attach to port 873.
Like I said, not much effort in the script, but it works.
I don't use services for starting my rsync daemon. I use a scheduled task
set to start the daemon on startup *and* every hour. That way if it
*does* crash, the daemon will restart automatically.
I certainly could make the script much smarter: check to see if there's
an rsync process already running, etc. But this little bit of effort
works perfectly for my needs.
Tim Massey
Out of the Box Solutions, Inc.
Creative IT Solutions Made Simple!
http://www.OutOfTheBoxSolutions.com
[email protected]
22108 Harper Ave.
St. Clair Shores, MI 48080
Office: (800)750-4OBS (4627)
Cell: (586)945-8796
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
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/