Forum Discussion

Dotdk's avatar
Dotdk
Level 2
9 years ago

backup exec 15 backup sets not deleted.

Hi Running Backup Exec 15 on a Windows server 2012 R2 host for Hyper-V. I use 5 indetical usb disk's that i swap daily. Connected as drive X:. I have made a backup store call'd "Daily" that ...
  • Dotdk's avatar
    9 years ago

    Hi i made a case at Veritas.

    Here is the answer.

    As far as I understood, you would like to schedule a catalog job on your USB for activate the DLM process when you connect the disk and delete the old backup sets. This operation cannot be done using the console, but you can use the becmli (formally the Backup Exec command line interface): what you can do is:

    • create a script with the command for run the catalog;
    • schedule the script with Windows Task Scheduler.

    I'm attaching you a tech note where you can find information about that:

    I made a bach file looking like this.

    cmd.exe /c powershell.exe -command "& {import-module bemcli;Get-BEDiskStorageDevice "*" | Submit-BEInventoryAndCatalogMediaJob}"
     

    And had it to run from the Windows scheduler.

    And it is working :)