The model can also represent a request to upload a file later,
through offline processes like mailing a DVD. In order to associate
and authenticate those requests easily, an upload token is generated for every archive.
The "OriginalEnvironment" points to original source of this snapshot
(the one it was backed up from). It will be empty if the snapshot has been created with offline process.
The "Environment" denotes the ownership of the snapshot. It will be initially set to match the
"OriginalEnvironment", but can be changed later. During the offline process the ownership can be set up
arbitrarily.
When moving snapshots, the file always remains in its initial location.
The archive can have associations to {@link DNDataTransfer}:
- Zero transfers if a manual upload was requested, but not fulfilled yet
- One transfer with Direction=get for a backup from an environment
- One or more transfers with Direction=push for a restore to an environment
The "Author" is either the person creating the archive through a "backup" operation,
the person uploading through a web form, or the person requesting a manual upload.
The "Mode" is what the "Author" said the file includes (either 'only assets', 'only
database', or both). This is used in the ArchiveList.ss template.