Other [new feature] Auto backups

Discussion in 'Android Questions' started by Erel, Dec 3, 2018.

  1. Erel

    Erel Administrator Staff Member Licensed User

    This feature was planned for a long time.
    The IDE will make projects backups automatically:

    [​IMG]

    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: Jan 1, 2019
    alienhunter, ocalle, jmon and 31 others like this.
  2. jimmyF

    jimmyF Active Member Licensed User

    Great addition!
    Does this mean it will not be developer configurable?
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    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.
     
  4. Peter Simpson

    Peter Simpson Expert Licensed User

    What is the maximum number of backup files that will be kept by the IDE, or is that dependent on the amount of time that has passed?
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    After a year there will be about 20 backups with another backup added every 2 months (a new backup is created every 10 minutes).
     
  6. Star-Dust

    Star-Dust Expert Licensed User

    It seems to me too much every 10 minutes. Is it possible to change the frequency of the backup?
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    It is not just every 10 minutes. It is every 10 minutes in the last hour. After that it deletes older backups based on a set of rules. After a year you will have about 20 backups.
     
  8. Star-Dust

    Star-Dust Expert Licensed User

    Ok thanks I did not understand correctly
     
  9. asales

    asales Well-Known Member Licensed User

  10. Didier9

    Didier9 Active Member Licensed 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!
     
    Erel likes this.
  11. Erel

    Erel Administrator Staff Member Licensed User

    The IDE will ignore any file that is not named based on the scheme you can see above. This means that you can rename specific backups to make sure that they are kept.
     
  12. Tayfur

    Tayfur Well-Known Member Licensed User

    this feature is exactly what we need novices like me
     
  13. Cenny

    Cenny Member Licensed User

    Where do I find this auto backup option?
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    It will be included in B4A v8.80.
     
  15. Cenny

    Cenny Member Licensed User

    Thanks Erel.
     
  16. Robert Valentino

    Robert Valentino Well-Known Member Licensed 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
     
    MarkusR likes this.
  17. DonManfred

    DonManfred Expert Licensed User

    no
     
  18. Robert Valentino

    Robert Valentino Well-Known Member Licensed 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
     
  19. mangojack

    mangojack Well-Known Member Licensed User

    In the Project folder ... sub folder AutoBackups .
     
    Peter Simpson likes this.
  20. AnandGupta

    AnandGupta Active Member Licensed User

    And you do lots of media conversion, Video and Music. Set music files properties. Use WinHTrack to download full websites etc.
    Just a wild guess :)

    Regards,

    Anand
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice