Sync from linux to windows using "create incrementale snapshots" option

I need to use Acrosync on windows and sync from a remote folder on linux, to a local folder on windows.
Can use "create incrementale snapshots" option and reduce the size of local backup?
I made a test as so:
  
First snapshot
        On the remote folder there's a 100 MByte file
Second snapshot
        On the remote folder there's the previous 100 MByte file and a new one of 100 MByte

Locally I obtain two snapshots folder:

    The first snapshot folder contains 1 file of 100 MByte
    The second snapshot folder contains 2 file of 100 MByte

At this time, my global local folders size is 300 MByte, and not 200 MByte as aspected with the logic of hard-link.

Comments

  • This is how I tested it:

    On a linux machine, I created 'file1' that is 100 MBytes in length.

    I then downloaded the directory with the 'create incremental snapshots' options enabled.  This gave me a subdirectory named '2016-0115-10' on the Windows machine.

    On the linux machine, I created another 100 MByte file named 'file2'.

    Ran the download again.  Now there is a new subdirectory named '2016-0115-11' that contains two files, 'file1' and 'file2'.

    Ran fsutil on 'file1', which clearly showed that 'file1' under '2016-0115-11' was hard-linked to 'file1' under '2016-0115-10'.

    c:\Users\gchen\Documents\AcrosyncTest\hardlinks\2016-0115-11>fsutil hardlink list file1
    \Users\ gchen\Documents\AcrosyncTest\hardlinks\2016-0115-10\file1
    \Users\ gchen\Documents\AcrosyncTest\hardlinks\2016-0115-11\file1

    The log file also showed that only 'file2' was downloaded during the second download.

  • Thank you. You have clearly answer to my question.

    Now another question:
    After the backup, if I save the folder "\Users\gchen\Documents\AcrosyncTest\hardlinks\" on an external HD and in a second time
    I want to restore from my external HD, the hardlink still works?

    Thanks in advance
    Pietro


  • After the backup, if you copy the 'hardlinks' folder to an external HD, I suspect most copy tools won't preserve hard links, and you would get two distinct but identical 'file1' on the external HD.  So the answer is probably no.
Sign In or Register to comment.