Follow symlinked sub-directories

Hello

I would like to do a backup of an entire drive and one of the directories in that drive is a symlinked one, for example, I would like to backup e:\ to //media/backup and within //media/backup is a directory called symlinkeddir that points to another drive.

When I try and backup a sub directory of that symlink then it works, but when I try and do the whole drive, according to the dry run it ignores the symlink and tries to upload everything that is in that directory again.

I am running Acrosync x64 1.6 Personal Edition on Windows 10 x64 Pro and I am backing up to Ubuntu server 16.04.3 LTS, where the remote hard drives are all ext4 and my local windows one is NTFS.

I believe what I am looking for is the -K, --keep-dirlinks parameter, but I don't know how to put in custom rsync parameters into Acrosync.
Is there anything I can do to get the desired behavior?

ATM my solution is to have 2 separate rsync jobs, where 1 does the whole drive but excludes the symlink directory and the other one does a sub-directory in the symlinked directory which contains all the files in that symlink (I had to move everything into that).

Comments

  • Acrosync doesn't support the -K option -- it has its own rsync implementation and doesn't use the rsync binary.  At this time your solution looks like the only workaround.  We'll consider adding the -K option in a later version.
Sign In or Register to comment.