Adam Goryachev wrote: > Alex wrote: >> Alex wrote: >>> Alex wrote: >>>> Anyway, let me thank you a lot, as it work great with backuppc :D >>>> >>>> This helped me a lot, the two binaries are usable as is on each system : >>>> http://www.consolejunky.net/cwrsync-vss/ >>>> >>>> Tested it on XP / Vista w/o problem using backuppc. Been able to save my >>>> "in use" pst files. >>>> >>>> Great. >>> Back again, i've got a bug using the vss version, when i restart de >>> service, the pid logfile is not erased.
It's not a logfile, it's to prevent to start 2 daemon's (services) at ones. Which is pretty much impossible anyway (server IP-adress/port in use for one). >>> When the computer reboot, the rsync service won't start anymore. The log >>> file says "failed to create pid file rsyncd.pid: file exists (17)" wich was >>> not happening with the original version. >>> >>> I'll try to check if there's an option about this, but i think there's >>> something wrong (maybe service doesn't stop properly, but this did not >>> append before...) > >> Ok, sorry for the noise, but i hope this will help others. Since i've just >> replaced the old rsync.exe by the provided one, i kept the rsyncd.conf file. > >> So, i removed the "pid file = rsyncd.pid" from the config file, and it's now >> working like a charm. >> Maybe this version has the pid file stored somewhere else, anyway, putting >> this option in comment (adding # before) fixed the problem. > >> Now rsync start w/o problem on each reboot (apply to xp and vista versions). > Hi Alex, First of all thank you for testing that, I'm glad that worked for you. I had some problems when I had a few minutes time to test it on Vista, could you tell me something about the version of Vista used and how you used it...? I had 2 problems: 1. Windows complained about some permissions during 'mounting' of the VSS-volume, but I didn't run it as a Windows service (which means user would be: system, instead of administrator) 2. I did see problems with rsyncing the /Users directory, links were not handled properly, but maybe the default settings passed on from backuppc prevented that problem. I wouldn't be surprised if it enabled the -H (hardlinks) feature, as backuppc also uses hardlinks for storage. I think I'll have to find some time with a Vista laptop soon and test again and see if my problems can be prevented by running it that way. > I found that if you manually delete the pid file, then it should work > fine. Perhaps this version doesn't know how to delete the pid file on > exit, or perhaps it was not exiting cleanly. > Hi Adam, I wouldn't be surprised if you are right. That would also be my first thought on that matter. Although when I test/run it on the commandline, everytime I kill it with control-C it works perfectly. Maybe it was Vista specific ? Hmm, I guess I'll have to take a good look at that as wel. > Regards, > Adam ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ 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/