When an archive is created, its type must be defined with the ALLOWED-USAGE operand of the HSMS statement CREATE-ARCHIVE, i.e. it must be assigned one of the basic HSMS functions. HSMS distinguishes between
backup archives for backup (ALLOWED-USAGE=*BACKUP)
- version backup archives for version related backup (ALLOWED-USAGE=*VERSIONBACKUP)
long-term archives for archival (ALLOWED-USAGE=*ARCHIVAL)
migration archives for migration (ALLOWED-USAGE=*MIGRATION)
backup archives for the backup of node files of the POSIX file system or remote nodes S0
(ALLOWED-USAGE=*NODEBACKUP)long-term archives for the archival of node files of the POSIX file system or remote nodes S0
(ALLOWED-USAGE=*NODEARCHIVAL)shadow archives for the copies of save files. Shadow archive can only be assigned to backup or long-term archives.
(ALLOWED-USAGE=*SHADOW).
Note that only the HSMS administrator may create migration archives and shadow archives. All other types of archive may be created by nonprivileged users also.
Each archive can only be used for the function for which it has been created. For instance, it is not possible to migrate files to a backup archive, but only to a migration archive.
Shadow archives can only ever be assigned to a single backup or long-term archive with SEVERAL SVID structure. As this assignment must already be made when the shadow archive is created, the long-term or backup archive to be assigned must already exist.
A shadow archive can be used for the following purposes:
automatic or explicit copying of save files from a long-term or backup archive into the associated shadow archive
explicit copying of save files from a shadow archive into the associated long-term or backup archive
restoring data
The connection between an archive and the associated shadow archive is canceled by deleting the shadow archive. In addition to this total deletion of the shadow archive, the following functions are also offered:
Separating the shadow archive: The connection between an archive and the associated shadow archive is canceled and the shadow archive is turned into a backup or long-term archive. The attributes of the archive originally assigned are taken over for the new archive.
Replacing the archive directory: The definition of the shadow archive is deleted and the archive directory of the shadow archive is taken over for the assigned backup or long-term archive. The original archive directory is retained without any link to an archive.