Android Question OMG I lost it all

Discussion in 'Android Questions' started by gruizelgruis, Feb 26, 2015.

  1. gruizelgruis

    gruizelgruis Member Licensed User

    Is there an autosave location where I can find my project back.
    I lost it all as windows did a forced reboot..

    Please :-0 ?
     
  2. Cableguy

    Cableguy Expert Licensed User

    The project auto-saves itself when compiling and when, on code hot swap, you hit crtl+s
     
  3. eps

    eps Well-Known Member Licensed User

    Define 'all'...

    I'm sorry to say that backups is the only thing you can do (going forward). There's a thread about it on the forum.
     
  4. gruizelgruis

    gruizelgruis Member Licensed User

    It looks like I copy-ed the wrong project over the current one.

    Thank you for your responce
     
  5. DonManfred

    DonManfred Expert Licensed User

    Then take you backup and restore the right files.
    If you dont have a backup then NOW you know what you have done wrong (forgot to make a backup)
     
    Cableguy likes this.
  6. Graham Stratford

    Graham Stratford New Member Licensed User

    Backups are NOT the answer! If you are doing any kind of coding, you should use a revision control system, like SubVersion, GIT, or Mercurial. It will save SOOOOOO much heartache and pain.

    Even for small personal projects, an RCS is essential. Full-featured IDEs (MS Visual Studio, NetBeans, etc.) have RCS interfaces built in. I could understand why Erel doesn't want the significant effort in supporting different RCSs in B4A, but even a standalone solution only takes seconds to commit or rollback changes.
     
    inakigarm, thedesolatesoul and eps like this.
  7. boastrike

    boastrike Member Licensed User

    What Graham says is true. One thing to do for a short term solution is to use something like dropbox and develop out of it directly. At least that way everything is always being backed up so if your PC dies or something happens it is all still there. Someone here gave me that pointer out a long time ago and has saved me.

    Best, Boa
     
  8. KMatle

    KMatle Expert Licensed User

    For myself I use a simple solution with google drive (as long as I'm not working in a big developer team writing huge apps with B4A which will not happen).


    I have a batchfile (copy.bat) with this

    Code:
    set source=C:\xxxx\*.*
    set destination=
    "C:\yyyy\Google Drive\b4asave"
    xcopy %source% %destination% /E /Y
    I've put a lot of copy statements in it to save other stuff, too (Visual Studio Projects, Outlook, Apache, MySql, etc.).

    For new versions of an app I create a new Folder and copy everything to it.
     
  9. TomA

    TomA Active Member Licensed User

    Take a look at Carbonite (http://www.carbonite.com/). It does automatic backups to the cloud and, once set up, you can forget about it. Then you don't have to remember to do backups since it will do them continuously. It has saved me several times - not only after a complete disk failure but also several times in being able to recover an older version of a file inadvertently changed (or even deleted) since it keeps multiple versions of changing files. At $59.99 a year, it is cheap insurance against data loss.
     
  10. tunderin

    tunderin Member Licensed User

    If you don't want to go so far as a formal RCS or involve the cloud (some of us don't trust it), just do 'nightlies' - export as zip to a folder of daily zips. It literally takes just seconds and the most you will be out is one day's work. For extra safety, use external storage for your nightlies...
     
    Informatix, RandomCoder and mangojack like this.
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