Other [new feature] Auto backups

Erel

B4X founder
Staff member
Licensed User
Longtime User
This feature was planned for a long time.
The IDE will make projects backups automatically:

SS-2018-12-03_17.38.53.png


The zip file created is the same zip that you will get with File - Export as zip.
It creates a new zip every 10 minutes (when there are changes).
It automatically deletes older backups based on a set of internal rules.

The frequency of kept files is lowered based on the files age. It starts with one file per 10 minutes and ends with one file every two months after 6 months.

It can be disabled if needed.

Edit: The backups are saved in the project folder inside a folder named AutoBackups.
 
Last edited:
Great addition!
It automatically deletes older backups based on a set of internal rules.
Does this mean it will not be developer configurable?
 
Upvote 0
Does this mean it will not be developer configurable?
That's true, at least for the first version. Note that if you modify the name of any of the zip files then it will no longer be managed by the IDE. This can be useful if you want to make sure that a specific backup is kept.
 
Upvote 0
It seems to me too much every 10 minutes. Is it possible to change the frequency of the backup?
 
Upvote 0
Ok thanks I did not understand correctly
 
Upvote 0
This is different from what I normally associate with a backup scheme in the sense that the user does not directly decide what is being backed up and when, so there may be some uncertainty about what exactly is in the backup, but it can be very useful for cases where we deal with user error instead of hard drive crash in the sense that sometimes I make more changes to a working configuration than I was planning to and I mess it up while not having a backup of the last working configuration. This new feature works in the background without any interaction so there would be a good chance that what you need was saved.
Great useful addition, thank you Erel!
 
Upvote 0
This feature was planned for a long time.
The IDE will make projects backups automatically:

SS-2018-12-03_17.38.53.png


The zip file created is the same zip that you will get with File - Export as zip.
It creates a new zip every 10 minutes (when there are changes).
It automatically deletes older backups based on a set of internal rules.

The frequency of kept files is lowered based on the files age. It starts with one file per 10 minutes and ends with one file every two months after 6 months.

It can be disabled if needed.
this feature is exactly what we need novices like me
 
Upvote 0
Just installed this.

Anyway I can tell it where I want to keep the backups?
Want to use a different physical drive (double protection on a drive crash)

BobVal
 
Upvote 0
In the Project folder ... sub folder AutoBackups .
 
Upvote 0
Back
Top