Versioning Only

Discuss new features and functions
Posts: 12
Joined: 5 Dec 2022

theleetbeagle

This may be a dumb or obvious question, but is there a way to have a script set up that doesn't backup everything to a new location, but instead just watches for changes and does a Versioning move?
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

Then no, you can't do what you're looking at wanting to do
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

Two sync jobs could do it:
1. Regular sync to some folder X on the same volume that will receive the versions in folder Y.
2. Sync from <empty folder> (just leave the source path empty in FFS) to X with versioning enabled to Y on the same volume. This will *move* the files to the versioning folder instead of copy (because they're on the same volume).

RTS could target simply .cmd script that just calls the two sync jobs in order.
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

But if X is containing the versions and then you are syncing an empty directory to X, don't the versions get deleted?
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

X should be located on the same volume as the versions, but not contain them.
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

I see that now! That would work. Essentially mirroring the data to a folder then mirroring an empty folder to that same folder, deleting the files, thus triggering the creation of versions.

Another possible concern, this means it will have to sync and delete all of the contents in the source folder, could be a lot of wasted time and write endurance depending on the source data. Really should use File History, it's built-in and is amazing to have right-click restorability
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

Another possible concern, this means it will have to sync and delete all of the contents in the source folder, could be a lot of wasted time and write endurance depending on the source data. xCSxXenon, 15 Dec 2022, 17:47
Ah, you're right.