I'm posting to both BackupPC lists since it concerns both users and developers.
Currently, rsync version shipped on BackupPC site have three limitations which result that some files may not be transferred. A backup tool which can't backup all files reliably is somewhat less useful. 1. rsync server started on Windows can't open files for which it has access denied by file/directory ACLs. This is a limitation for all Windows processes. To overcome it, a privileged process must use a special access mode to the file. 2. rsync server started on Windows can't open files which long path names (over 260 characters)[1]. This is also a limitation for all Windows processes; they can only access long filenames by using UNC-style paths (\\?\C:\path\...) However, as rsync is a UNIX tool port, it sees a path like C:\file or \\?C:\file as a UNIX-style remoteserver:file - so a colon (:) can't be used with rsync. Only POSIX-style (i.e. /cygdrive/c/file paths) will work with rsync.exe. The above two problems can be solved: a recent snapshot of cygwin1.dll[2] can open both files with problematic DLLs and long filenames, when used with a recent version of rsync (cwRsync[3]). I can verify that it really works by starting rsync manually against a remote rsync server - all files with problematic ACLs and long file paths are copied: $ rsync -av rsync://[EMAIL PROTECTED]/module localdir However, when I start it from BackupPC, it still bails out on long path names: $ BackupPC_dump -v -f remotehost (...) Remote[2]: cannot send long-named file ... Why is that? What limitation is there in BackupPC that it still can't open long paths? 3. rsync server started on Windows can't read files with certain characters (Asian etc.). This can be addressed by a special cygwin1.dll version available on http://www.okisoft.co.jp/esc/utf8-cygwin/ A snapshot version of cygwin1.dll would still have to be patched with this UTF-8 patch to solve these three problems. [1] http://msdn2.microsoft.com/en-us/library/aa362512(VS.85).aspx [2] http://cygwin.com/snapshots [3] http://www.itefix.no/phpws/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=6 -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ 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/