Problem with include spec at depth greater than one

edited August 2014 in Acrosync for Windows
In an upload I'm trying to include only a specific subfolder which has a depth greater than one. For example:

Remote Directory: share2/acrosync/qua/bug
Local Directory: C:/Users/JohnM/AppData
Only sync these files/dirs: /LocalLow/Microsoft


After I click Start the verbose log reports:

2014/08/28 14:13:58    Uploading C:/Users/JohnM/AppData/ to share2/acrosync/qua/bug/
2014/08/28 14:13:58    rsync command: rsync --server --modify-window=2 --out-format=%n --links --recursive -tude. . "share2/acrosync/qua/bug/"
2014/08/28 14:13:58    Uploaded 0 files; total 0 bytes, skipped 0 bytes, sent 0/0 bytes
2014/08/28 14:13:58    Uploaded C:/Users/JohnM/AppData/: up to date

If I then modify the profile by checking "Propagate deletion" and click Start again the log is:

2014/08/28 14:16:00    Uploading C:/Users/JohnM/AppData/ to share2/acrosync/qua/bug/
2014/08/28 14:16:00    rsync command: rsync --server --modify-window=2 --out-format=%n --links --recursive --delete-during -tude. . "share2/acrosync/qua/bug/"
2014/08/28 14:16:00    Add pattern: - /.acrosync/
2014/08/28 14:16:00    Add pattern: + /LocalLow
2014/08/28 14:16:00    Add pattern: + /LocalLow/Microsoft
2014/08/28 14:16:00    Add pattern: + /LocalLow/Microsoft/
2014/08/28 14:16:00    Add pattern: - /*
2014/08/28 14:16:00    Add pattern: - /LocalLow/*
2014/08/28 14:16:00    Uploaded 0 files; total 0 bytes, skipped 0 bytes, sent 0/0 bytes
2014/08/28 14:16:00    Uploaded C:/Users/JohnM/AppData/: up to date


But if I change the include spec to: /LocalLow

then run it, Acrosync uploads all the files in all the subdirs of C:/Users/JohnM/AppData/LocalLow/

And on the server the subdirs look correct:

[johnm@nas ~/share2/acrosync/qua/bug/LocalLow]$ ls -l
total 16
drwxr-xr-x   3 johnm  wheel  512 Jun 29  2013 Apple Computer
drwxr-xr-x   2 johnm  wheel  512 Jul 19 22:28 EmieSiteList
drwxr-xr-x   2 johnm  wheel  512 Jul 19 22:28 EmieUserList
drwxr-xr-x  10 johnm  wheel  512 Jan 17  2013 Microsoft
[johnm@nas ~/share2/acrosync/qua/bug/LocalLow]$

Am I doing something wrong, or is there a bug?

I'm using Acrosync 0.93 Win64 version on Windows 8.1

Comments

  • edited August 2014
    This is not a bug.  When "Propagate Deletions" is not enabled, there is no need to send the patterns to the server since the list of files to be transferred can be constructed locally.  However, if deletions are to be mirrored on the server, the server needs to know which files are excluded so they won't be deleted (which is the default behavior of rsync).
  • I wasn't referring to the presence or absence of the "Add pattern" lines as the bug. My problem is that regardless of which way I set "Propagate deletion" Acrosync doesn't upload the directory I listed for inclusion, i.e. /LocalLow/Microsoft
  • Sorry my fault -- messed up with the config in my previous test and '/LocalLow/Microsoft' got uploaded correctly.  Yes, it is a bug and has been fixed in build 381.  You can download the latest installers from:

    Windows XP (32 bit only, no VSS support)

    Thank you for reporting the bug
  • Thanks. That has fixed it.
Sign In or Register to comment.