I just wanted to double check on the behavior of the incremental / hard links feature.
Does this properly describe how it works when pushing files from acrosync to a remote server (running openssh on linux/unix):
The first time a backup is run, if and only if it completes successfully, a "latest" symlink is made to the backup directory. Let's say the directory symlinked to is called 2015-1216-20" for this example.
The next time a backup runs, let's say for "2015-1217-20", it checks the "latest" symlink to determine which folder to use to create the hard link set, which is then used as the --link-dest parameter on the server side (--link-dest=2015-1216-20 in this example).
If and only if a backup is completed successfully, it replaces the "latest" symlink, pointing it to "2015-1217-20".
Thanks.
Comments
drwxr--r-- 32 user group 40 Dec 12 20:03 2015-1212-20/ <--- failure
drwxr--r-- 32 user group 40 Dec 13 20:03 2015-1213-20/ <--- failure
drwxr--r-- 32 user group 40 Dec 14 20:03 2015-1214-20/ <--- failure
drwxr--r-- 32 user group 40 Dec 15 20:03 2015-1215-20/ <--- failure
drwxr--r-- 32 user group 40 Dec 16 20:03 2015-1216-20/ <--- failure
drwxr--r-- 32 user group 40 Dec 17 20:03 2015-1217-20/ <--- failure
lrw-r--r-- 1 user group 12 Dec 10 20:32 latest@ -> 2015-1210-20
If so, I don't really care for that behavior. 2015-1210-20 represents the last good backup, and should always be included in a --link-dest. I believe I basically had this happen to me, and because 2015-1210-20 holds about 300GB of relatively unchanging files, and all the backups after that were failures, I ended up re-cloning about 300GB worth of files that for the most part could have been hard links into 2015-1210-20. Consider this my vote for having the directory pointed to by "latest" always be included in a link-dest parameter, or at least have an option somewhere to enable this behavior.
As things stand, I will have to constantly babysit acrosync to make sure it doesn't end up using only link-dest parameters to failed backup directories.
You can try this new build:
32 bit: https://acrosync.com/win32/acrosync_installer_win32_1.5_532.exe
64 bit: https://acrosync.com/win32/acrosync_installer_win64_1.5_532.exe
XP: https://acrosync.com/win32/acrosync_installer_winxp_1.5_532.exe'
The backup pointed to by 'latest' will always be added to --link-dest. In addition, if there are backups newer than 'latest' they will be added too. If there are more than 5 such backups, only 5 most recent ones will be added.