Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Question What's the best way to back up your Unity games?

Discussion in 'Getting Started' started by Asough, Sep 26, 2022.

  1. Asough

    Asough

    Joined:
    Sep 12, 2022
    Posts:
    151
    What's the best way to backup a game that you have made with Unity? Is it best to save it to the cloud?
     
    Last edited: Feb 26, 2024
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,401
    look into Version control, it allows you to track changes, undo changes, restore older project states etc.

    one example here using github:
     
  3. Asough

    Asough

    Joined:
    Sep 12, 2022
    Posts:
    151
    It seems a bit confusing. Is it basically just a program that saves your game to the cloud?
     
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,401
    yes, once you get it working once, its easy after that. (test it on some dummy project first)

    note that there are size limitations in github
    https://docs.github.com/en/reposito...aging-large-files/about-large-files-on-github

    unity has their own version controls that can be purchased, it might be more "integrated" to editor even.
    https://unity.com/solutions/what-version-control

    of course if you just need backups, can look into alternatives too.
    Dropbox sync project folder or others (havent tested myself).

    or backup plugins
    https://assetstore.unity.com/?q=backup&orderBy=1
     
  5. Asough

    Asough

    Joined:
    Sep 12, 2022
    Posts:
    151
    Would it make sense to use iCloud+ instead?
     
  6. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,401
    probably works for backup, if you can ignore some folders like Library/ and sometimes you might want to ignore large files too (from assets/plugins that you havent modified)

    but note that its not really version control then. (where you can revert, go back to different commits or branches, merge changes and more)
     
  7. angeldevelopment

    angeldevelopment

    Joined:
    Sep 28, 2022
    Posts:
    247
    I see the limitations github file size, surely any unity project is going to be 5gb, unless its for mobile....how do we backup 30gb projects or 100gb project?
     
  8. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,208
    You pay for the upgrade, of course.
     
  9. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    2,413
    Version control is fine-grained backups, but not really made for archival purposes. You can use both.

    Zip that sucker up, be sure it has all the data needed like the date and platform it's built for, publishing public keys, and a README reminding you where you keep any publishers' private keys. Tools in a separate archival bundle. Buy a modern reliable USB drive that you only plug in for reading or writing archives, heck, buy two and keep a copy at your mom/uncle/friend's house in case your house burns down.

    Cloud storage just means "unreachable after they go bankrupt or delete your account for misconstrued reasons."
     
  10. Asough

    Asough

    Joined:
    Sep 12, 2022
    Posts:
    151
    I'm not really sure what you are saying, but it would be more practical for me to save my projects on iCloud, so that I don't have to register a new account somewhere else to save them.