Export Media - Overview
Exporting is the process by which you physically remove one or more media from a library. If a data protection operation requests an exported media, depending on the options selected for the library in the Media tab of the Library Properties dialog box, one of the following operation will be performed:
- The exported media will be automatically marked as full, and a new media will be used for the data protection operation.
- The job will remain in the waiting state, with the Reason for job delay stating that the media is outside the library.
However, if a restore or auxiliary copy job requires data from an exported media, the system will prompt you to import the media in order to complete the operation. Information about exported media will be retained in the system; they do not have to be rediscovered if they are reimported.
If a media is reserved by a job for a read or write operation, the media cannot be exported.
When a media is exported an optional entry to specify the storage location for the media is provided. This information can be viewed or updated in the Media Properties dialog box. This feature helps you to keep track of the exported media. The exported media are displayed with the location in the Exported Media pool in the CommCell Console.
Media that is left in the mail slot after an export operation will be treated as an exported media. Pop-up messages associated with media outside the library and the media information in the CommCell Console will indicate that the media is in the I/E Port that is associated with the mail slot.
There are two ways to remove the media from the library:
- You can remove the media through the library’s mail slot (if available and supported by the library).
- You can open the library door and remove media from the storage slots by hand.
Removing media through a mail slot offers the following advantage: The inventory update that is triggered by a mail slot export is much less time-consuming than the full inventory operation that is triggered when you close the library door. However, under certain circumstances you may want to open the library door even though a mail slot is available. For example, if you want to remove many media from a library at once, it may be faster to open the door than to use the mail slot.
Removing media from and closing the mail slots of some libraries may trigger a full inventory operation (rather than an inventory update).
When the mail slot is full, the system retries the export operation and the number of retries is based on the Export Operation Retry Count option in the Media Management Configuration (Service Configuration) dialog box available in the Control Panel.
Information about exported media can be obtained from the following:
In addition, you can also use the Media Information Report to obtain a list of media that can be exported.
There are four ways to export media from a library to an outside location depending on the needs of your organization:
- The Export Media Wizard, which provides the capability to quickly select any number of available media for export.
- The Export a Specific Media option allows you to immediately export a specific media if you know the media is available in the library.
- You can also export media using the Vault Tracker feature. This option is useful if you want to export media based on criteria and/or you want to schedule the export media operation.
The Export Media Wizard provides the capability to quickly export one or more media from a library. This wizard is useful if you know the library containing the media you wish to export, as well as the media to be exported. You can choose to export media in two ways:
- using the Vault Tracker feature, which provides all the options you need create tracking policies.
- from a list of available media in the library, from which you can select the appropriate media to be exported. The media will then be automatically placed in the appropriate mail slot for removal.
The Export Media Wizard is accessible at the Library and Media in Library levels in the CommCell Console.
If you wish to export only one specific media, and know where the media is available in the library, you can use this option. A specific media can be exported from the following levels in the CommCell Console:
- Media in Library (discovered and undiscovered media)
- Scratch pools
- Cleaning Media
- Retired Media
- Assigned Media
- Media List dialog box that appears when you select the View Media option. This dialog box can be accessed by right-clicking a Storage Policy copy.
- Media List dialog box that appears when you select the Change Data Path option. This dialog box can be accessed by right-clicking a Storage Policy copy.
- Media List dialog box that appears when you select the Media Not Copied option. This dialog box can be accessed by right-clicking a Storage Policy and Storage Policy copy.
- Media Used By Job ID dialog box which appears when you select the View Media option from the Data Protection Job history, Backup Job History, or Data Migration windows.
See Export a Specific Media for instructions.
If for some reason, you would like to prevent media from being exported from a library, the Prevent Export option has been provided. If necessary, media that has been prevented for export can also be allowed to be exported using the Allow Export option. In the CommCell Browser, the Prevent Export and Allow Export operations can be performed on a specific media, from the scratch pool and the Media in Library levels.
Scheduled media export can be performed using Vault Tracker.
Appropriate event messages to indicate the start and completed/failed status of a scheduled media export job are logged in the Event Viewer.
Do not use the Schedule Media Export operation on a library which does not have a mail slot.
For more information on creating schedules, see Scheduling.
Use this feature to mark all the media in a library or in all the libraries as exported. This feature is useful when you wish to replace a MediaAgent or a library. In such situations, you can mark all the media in a library as exported, before changing the data paths for all the storage policy copies that access the MediaAgent or library. (See Change Data Path for information.)
Since this option logically marks all the media as exported in the CommServe database, you can reimport the media into the library after changing the data paths.
Use this feature to do the following:
- To predefine the location, export location or container for media available in a library. This will ensure that the export locations are preset for the media.
- To redefine a previously defined location or container.
- To define the export location for exported media.
This operation can be performed in the CommCell Browser from the Library level, or at the Exported Media group level or individually for the specific media.
See Set Media Location in Bulk for instructions.
The Exported Media pool is the logical repository for all media which were previously discovered and subsequently exported from the library.
From the CommCell Console, you can view the properties such as the media location, container, barcode, Storage Policy/Storage Policy Copy, last write time, and size of stored data for the media listed in this pool.
In addition the following operations can be performed on the media available in the Exported Media pool:
- View the contents
- Move the media
- Move Media to Library
- Delete the media
- Mark the media bad
- View the media properties
- Mark media full
- Mark Media Appendable
- Update Media Barcodes
- Set Scratch (for libraries attached to the ACSLS Server)
For stand-alone drives, all the media residing outside the drive will be listed in the Exported Media Pool.
Media With Data Marked for Extended Retention
Media containing data that are marked extended retention is displayed with the suffix (E). This will help you identify media containing data marked for extended retention. See Tape Handling for more information.
It might be necessary to export a set of media, either a one-time operation or scheduled export operation. For example, to export the daily backups to an offsite storage location. This can be accomplished using the Vault Tracker feature.
In addition you can use the following options, if the daily backups should be directed to a new set of media, which is in turn exported using a scheduled export operation.
- Enable the Start New Media option, which is available from the Media tab of the Advanced Backup Options dialog box. This dialog box can be accessed when the job is scheduled using either a regular Schedule or a Schedule Policy, or when a data protection job is run immediately.
Consider the following when you select the Start New Media option:
- For an individual job the job will use a new media.
- For a scheduled job at the backup set level, all jobs that belong to the schedule from that backup set will go to a new media.
- For a schedule policy, all jobs that run from that schedule policy, will go to a new media.
- In addition you can use also enable the Mark media full after successful operation option and the Allow other schedule to use media set options, if necessary. These options are useful when several data protection jobs are started at the same time by a schedule or schedule policy and the associated data must be written to the same media set.
- When the Mark media full after successful operation option is enabled, the system marks the media as full two minutes after the completion of a job. If another data protection job is queued or started within the two-minute period, the media will be used by that job.
- When the Allow other schedule to use media set option is also enabled (this option can be enabled only if the Mark media full after successful operation option is enabled), jobs from other schedules can also use the same media set.
Consider the following example:
- Schedule Policy 1, with the Mark media full after successful operation option enabled initiates two data protection jobs - job 1 and job 2
- Schedule Policy 2, with the Mark media full after successful operation option not enabled initiates two data protection jobs - job 3 and job 4
If the Allow other schedule to use media set option is also not enabled, jobs 1 and 2 will be written to a new media and jobs 3 and 4 may or may not be written to the same media, depending on whether the job gets a reservation for the operation within the two-minute interval.
By default, the MediaAgent retains the container and export location associated with the Media. These associations are viewable from the Media Properties - General tab. If necessary, you can enable a global option in the library from the Library Properties -Media tab, to automatically remove these associations when the media is brought back in to the library.
Operations performed with this feature are recorded in the Audit Trail. See Audit Trail for more information.