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:

jimmyF

Active Member
Licensed User
Longtime User
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

Erel

B4X founder
Staff member
Licensed User
Longtime User
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

Star-Dust

Expert
Licensed User
Longtime User
It seems to me too much every 10 minutes. Is it possible to change the frequency of the backup?
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
Ok thanks I did not understand correctly
 
Upvote 0

Didier9

Well-Known Member
Licensed User
Longtime User
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

Tayfur

Well-Known 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.
this feature is exactly what we need novices like me
 
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
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

Robert Valentino

Well-Known Member
Licensed User
Longtime User
OK, Bug where are they being kept.

I am looking under Documents and don't see them? AND I do have the feature turned on

upload_2018-12-31_20-17-35.png
 
Upvote 0

mangojack

Well-Known Member
Licensed User
Longtime User
In the Project folder ... sub folder AutoBackups .
 
Upvote 0
Top