It can be one of two directions:
- Backup: Package up data on an environment and store it in a local file
- Restore: Transfer data from a local file into an environment, extract assets and/or restore a database
The choice of database and/or assets is represented in the "Mode".
There's always one file archive involved (stored as the has_one "ArchiveFile") on the local Deploynaut environment.
Each transfer is executed by a Resque job, so the model also contains
a reference to a Resque token (which might still be in progress).
The "Environment" points to the source or target involved.