Versioning

Get help for specific problems
Posts: 2
Joined: 23 Oct 2016

eXMarty

Can be set file versioning, so that the old version of the file always write to disk, which originally was?

For example:
Synchronizing drive L (in the left panel) and N (in the right panel)
I have a set way sync
On both drives are file Text.doc
On drive L is a newer version - I want to be an older version on the N write to drive N
Similarly, if it is newer version on drive N to rewrite the version on drive L and earlier versions wtrite to drive L

thanks for advice
Posts: 2
Joined: 23 Oct 2016

eXMarty

It is not possible?
Posts: 4
Joined: 5 Sep 2016

malusync

Try this:
<?xml version="1.0" encoding="UTF-8"?>
<FreeFileSync XmlFormat="5" XmlType="GUI">
    <MainConfig>
        <Comparison>
            <Variant>TimeAndSize</Variant>
            <Symlinks>Exclude</Symlinks>
            <IgnoreTimeShift/>
        </Comparison>
        <SyncConfig>
            <Variant>TwoWay</Variant>
            <CustomDirections>
                <LeftOnly>right</LeftOnly>
                <RightOnly>left</RightOnly>
                <LeftNewer>right</LeftNewer>
                <RightNewer>left</RightNewer>
                <Different>none</Different>
                <Conflict>none</Conflict>
            </CustomDirections>
            <DetectMovedFiles>false</DetectMovedFiles>
            <DeletionPolicy>Versioning</DeletionPolicy>
            <VersioningFolder Style="TimeStamp">L:\</VersioningFolder>
        </SyncConfig>
        <GlobalFilter>
            <Include>
                <Item>*</Item>
            </Include>
            <Exclude>
                <Item>\System Volume Information\</Item>
                <Item>\$Recycle.Bin\</Item>
                <Item>\RECYCLER\</Item>
                <Item>\RECYCLED\</Item>
                <Item>*\desktop.ini</Item>
                <Item>*\thumbs.db</Item>
            </Exclude>
            <TimeSpan Type="None">0</TimeSpan>
            <SizeMin Unit="None">0</SizeMin>
            <SizeMax Unit="None">0</SizeMax>
        </GlobalFilter>
        <FolderPairs>
            <Pair>
                <Left>L:\</Left>
                <Right>N:\</Right>
            </Pair>
        </FolderPairs>
        <OnCompletion/>
    </MainConfig>
    <GuiConfig>
        <HandleError>Popup</HandleError>
        <MiddleGridView>Action</MiddleGridView>
    </GuiConfig>
</FreeFileSync>
The issue is that when you synchronize it makes copy of earlier version to L:\.
So you need next synchronization for this file to be copied to N:\.
If you can do this synchronization twice in a row, it should do exacly what you want.