Backup Exec Management Command Line Interface Help
Submit-BEImportMediaJob Cmdlet
Synopsis

Submits a job to insert media into the robotic library so that the Backup Exec database is updated.

Syntax
Submit-BEImportMediaJob -RoboticLibraryDevice [<BERoboticLibraryDevice>] [-InventoryAfterImport [<SwitchParameter>]] [-BackupExecServer [<BEBackupExecServer>]] [-Schedule [<BESchedule>]] [-KeepJobQueuedFor [<TimeSpan>]] [-CancelJobIfRunningAfterScheduledTimeBy [<TimeSpan>]] [-WhatIf [<SwitchParameter>]] [-Confirm [<SwitchParameter>]] [<CommonParameters>]

Submit-BEImportMediaJob -RoboticLibraryPartition [<BERoboticLibraryPartition>] [-InventoryAfterImport [<SwitchParameter>]] [-BackupExecServer [<BEBackupExecServer>]] [-Schedule [<BESchedule>]] [-KeepJobQueuedFor [<TimeSpan>]] [-CancelJobIfRunningAfterScheduledTimeBy [<TimeSpan>]] [-WhatIf [<SwitchParameter>]] [-Confirm [<SwitchParameter>]] [<CommonParameters>]

Submit-BEImportMediaJob -RoboticLibrarySlot [<BERoboticLibrarySlot[]>] [-InventoryAfterImport [<SwitchParameter>]] [-BackupExecServer [<BEBackupExecServer>]] [-Schedule [<BESchedule>]] [-KeepJobQueuedFor [<TimeSpan>]] [-CancelJobIfRunningAfterScheduledTimeBy [<TimeSpan>]] [-WhatIf [<SwitchParameter>]] [-Confirm [<SwitchParameter>]] [<CommonParameters>]
Description

Submits a job to insert media into the robotic library so that the Backup Exec database is updated.

Parameters

-RoboticLibraryDevice <BERoboticLibraryDevice>

Specifies the robotic library device that contains the media to import.


Required true
Position Named
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-RoboticLibraryPartition <BERoboticLibraryPartition>

Specifies the robotic library partition that contains the media to import.


Required true
Position Named
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-RoboticLibrarySlot <BERoboticLibrarySlot[]>

Specifies the robotic library slot that contains the media to import.


Required true
Position Named
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-Schedule <BESchedule>

Specifies the time and frequency that you want to run the job. See New-BESchedule.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


-KeepJobQueuedFor <TimeSpan>

Specifies the maximum amount of time past the scheduled start time that Backup Exec considers the job to be missed and reschedules it.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


-CancelJobIfRunningAfterScheduledTimeBy <TimeSpan>

Specifies the amount of time after the scheduled start time that you want to cancel the job if it is still running.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


-BackupExecServer <BEBackupExecServer>

Specifies which Backup Exec server should process the job in a CASO environment.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


-InventoryAfterImport <SwitchParameter>

Allows Backup Exec to create an inventory job. The inventory job automatically runs after the import job completes, and updates the Backup Exec database with information about the media.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


-WhatIf <SwitchParameter>

Describes what happens if you execute the command without actually executing the command.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


-Confirm <SwitchParameter>

Prompts you for confirmation before executing the command.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


<CommonParameters>

For more information about common parameters, type "Get-Help about_commonparameters".

Input Types
BackupExec.Management.CLI.BERoboticLibraryDevice

You can pipe a Backup Exec robotic library device object to Submit-BEImportMediaJob.



BackupExec.Management.CLI.BERoboticLibraryPartition

You can pipe a Backup Exec robotic library partition object to Submit-BEImportMediaJob.



BackupExec.Management.CLI.BERoboticLibrarySlot

You can pipe a Backup Exec robotic library slot object to Submit-BEImportMediaJob.

Return Value
BackupExec.Management.CLI.BEJob

Submit-BEImportMediaJob returns the job that was submitted.

Examples

Example 1

C:\PS> Get-BERoboticLibraryDevice "Device 0001" | Submit-BEImportMediaJob

These commands submit an import media job that imports the media from the robotic library named "Device 0001".


Example 2
C:\PS> Get-BERoboticLibraryDevice "Device 0001" | Submit-BEImportMediaJob -Schedule (New-BESchedule -Daily -StartingAt 10pm)

These commands submit an import media job that imports the media from the robotic library named "Device 0001" every day at 10pm.

Related Links

New-BESchedule
Get-BERoboticLibraryDevice