Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How To Properly Backup Unity Engine Project(Not Using Git)?

Discussion in 'Editor & General Support' started by FallenAngelSoftware, Jun 28, 2021.

  1. FallenAngelSoftware

    FallenAngelSoftware

    Joined:
    Aug 12, 2018
    Posts:
    58
    Hi,

    Pushing forward with development...

    After making small milestones I backup my Unity Engine project.
    Basically I've been just compressing the entire Unity Engine project's folder and upload it to my website.

    The problem with the above is that the compressed ZIP of the project's folder is over 500MB ?

    Is there a better way to backup the project?
    I am not ready to setup Git yet.

    Let me know, thanks!

    Jesse
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    ZIP everything except the /Library folder
     
  3. FallenAngelSoftware

    FallenAngelSoftware

    Joined:
    Aug 12, 2018
    Posts:
    58
    I'll try that, thank you!
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You bet. The Library folder will just get created on it's own if you open the backup.
     
  5. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,762
    Every time you back that up you are making another 500mb file.

    Every time you make a commit in git you are only updating the files that changed.

    While there may be an initial large "push" to a remote server (such as github, bitbucket, gitlab), all subsequent pushes only contain what changed.

    It's pretty magical really. You'll wonder how you ever even considered working without regular commits.

    Best part is, git is free and there are tons of tutorials out there to help you set it up.

    As far as configuring Unity to play nice with git, keep this in mind:

    https://forum.unity.com/threads/prefab-links-keep-getting-dumped-on-git-pull.646600/#post-7142306

    Here's how I use git in one of my games, Jetpack Kurt:

    https://forum.unity.com/threads/2-steps-backwards.965048/#post-6282497

    Using fine-grained source control as you work to refine your engineering:

    https://forum.unity.com/threads/whe...grammer-example-in-text.1048739/#post-6783740

    Share/Sharing source code between projects:

    https://forum.unity.com/threads/your-techniques-to-share-code-between-projects.575959/#post-3835837

    Setting up the right .gitignore file:

    https://forum.unity.com/threads/removing-il2cpp_cache-from-project.1084607/#post-6997067

    Generally setting Unity up (includes above .gitignore concepts):

    https://thoughtbot.com/blog/how-to-git-with-unity
     
    bobisgod234 likes this.