Every once in a while it becomes necessary to back up all of the media on your Unity, and this is a fairly big task. It can be terabytes of data that you need to transfer to a backup drive or drives, and there are better ways of doing this than just drag and drop. So whether the backup is needed at the end of the show for archival purposes, or somewhere in the middle because you’re switching cities and need to ship the Unity to a new office, here’s a little script I wrote to help accomplish this task safely and reliably. Some knowledge of Terminal is required (but not too much).
The script I’ve detailed here does rely on a bit of manual work. You will need to do the math to figure out which and how many workspaces from your Unity will fit onto the external drive(s) you have available. The Unity Administration Tool should help you out with that.
This script should be modified and run once per external drive. So once you know how you want to distribute your Unity workspaces across your external drives, then you should only set this script up for one volume at a time. When it finishes and is successful, change the Target Volume and Source Directories in the script file and execute it again.