Backing up your projects

When upgrading your UInity projects or performing risky uncertain actions it is always recommended to backup your Unity project. Backing up your project can be done in various ways and there is no ‘right’ way to go when it comes to backing up your project except you typically want the following:

  1. A weekly backup of your vital projects
  2. Stored on local hardrive seperate to your live project, preferably on another harddrive disk such as a portable hardrive, NAS or even a USB.
  3. Recommended: If you don’t have #2 as an option to store your backups in 2 places online such as on a GoogleDrive, OneDrive, DropBox or a FTP server.

Compressing & backing up your files #

Windows comes with a default zip tool and typically there is some sort of compression tool already. If you are using MacOS instructions specific can be found here.

https://www.macinstruct.com/tutorials/how-to-compress-zip-files-and-folders

Note: You can usually select your folder(s) and right-click and select Winrar, 7Zip or WinZip.

If you don’t see any of the following options I recommend you download 7-Zip: https://www.7-zip.org/download.html

In the example above: The contents of the Unity project folder minus the Library folder allows for optimal backup storage. If I ever had to restore my project, I would need to let the library re-generate. Not backing up this directory reduces backup size.

Cobian Backup #

Cobian Backup 11 (Gravity)

I use Cobian backup personally as it gives me the flexibility to automate and schedule the folders I want to backup and exclude directories and files if needed. I also maintain a history of backups so I can store multiple backups that get rotated while maintaining the flexibility to run backups manually.

Installing 7-Zip on Windows #

Cobian Backup – https://www.cobiansoft.com/

GitHubhttps://docs.github.com/en/repositories/archiving-a-github-repository/backing-up-a-repository

Google Drive

OneDrive

Restoring your backup #

Simply right-click on the compressed .rar, .zip etc file and you will see an option to uncompress. Uncompressing doesn’t remove your compressed file and simply creates an uncompressed directory containing your files.

Powered by BetterDocs