In the new BackUp.4DSettings there is no
As far as I know, this change is not documented (in changes).
Now we have to work with the backupHistory.json to get the last backup path in “backupPath”:
I think it would be necessary to have another option for the Get 4D folder (backupHistory_log) for the path of this file.
Now we have to read the backupHistory.json looking for the last one.
We have to look for the last json element, because the first one that is saved, is the oldest one.
It would be easier and faster if the json first saves the newest. Then we have to read only the first element.
The json file in just 1 year will have at least 365 items.
It is not too much, but unnecessary work.