Bucky Backup - How to delete archives from TSM

This document explains how to delete archives from the TSM server for Bucky Backup.

How to Delete Archives

This document assumes that you have installed and configured the TSM client. 

What is an archive?

For more information on archives see: Bucky Backup - What is an archive?

Deleting an archive in the GUI client

  1. Start the TSM GUI
    • Windows: Start -> Programs -> Tivoli Storage Manager -> Backup Archive GUI
    • Mac: Applications -> Tivoli Storage Manger -> TSM Tools for Administorators -> Tivoli Storage Manger
    • UNIX/Linux(requires X-windows client): as root or with sudo run dsmj or /path/to/tsm/bin/dsmj if it's not in your path
  2. Once you start the GUI, the interface should look very similar across all platforms
  3. Enter your TSM node name and password if necessary (it will likely already be saved)
  4. You should now see a window that looks something like this:

    TSM Main Window

  5. Click on the Utilities menu near the top of the screen and choose "Delete Archive Data..."
  6. Browse the tree on the left to find the files or folders you want to delete.
    • You can delete individual files from an archive object.
    • Check the box in front of the description (if you didn't add a description it will look like the image below) to remove all files in that archive. If you made more than one archive with the same name they will appear to be one archive object.Choose files to delete.
  7. Click the Delete button (upper left) and confirm that you wish to delete the selected file(s).
  8. When complete you will see this:


    Deletion complete.

Deleting an archive from the command line

Windows

  1. Run a command prompt as an administrator
    • Start -> Programs -> Accessories -> Right click on "Command Prompt" and choose "Run as administrator"
  2. Change to the directories where the TSM executables are located
    • cd "\Program Files\Tivoli\TSM\baclient" (default install location)
  3. Run your "dsmc delete archive" command (see below)
    • Note: You may need to use "dsmc.exe" in place of "dsmc" in some Windows environments.
  4. Confirm that you want to delete archive files

UNIX/Linux/Mac

  1. Open a root command shell or use sudo
  2. Run your "dsmc delete archive" command (see below) (include full path to dsmc if necessary)
  3. Confirm that you want to delete archive files

Basic Syntax

> dsmc delete archive c:\path\to\files\* -description="Description" 

DSMC Command options

Examples