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.

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:
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.
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:

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

• Specify the file(s) you would like to delete from an archive
• Use the full path to a file
• Use "*" for wildcard
• C:\path\to\dir\*
• /path/to/dir/*.txt
• Be sure you use quotes if specifying directory or file names with spaces
• "/path/to/files/file 1.txt"
• "E:\Research Project\*"
• Delete files form a specific archive description (optional)
• -description="Description"
• This is recommended since a file could be contained in more than one archive object and would be deleted from all archives where it is present
• Pick option (optional)
• -pick
• If a file is contained in multiple archives, TSM will display a list of archives and allow you to choose which one to delete from
• Enter the number to choose the file you want

• Delete files from subdirectories
• -subdir=yes
• This will delete any subdirectories in the location specified

Examples

• Delete a file from all archive objects
• dsmc delete archive "C:\ArchiveTest\deleteme.txt"
• Delete a file from a specific archive
• dsmc delete archive "C:\ArchiveTest\deleteme.txt" -description="Archive Test 3-11-2014 5YEARS"
• Delete directories with subfolders
• dsmc delete archive "C:\ArchiveTest\*" -subdir=yes -description="Archive Test 3-11-2014 2YEARS"
• Delete a file using the pick option (see screenshot above)
• dsmc delete archive "C:\ArchiveTest\deleteme.txt" -pick

Keywords: Doc ID: Bucky Backup Enterprise Lite delete remove Archive TSM Windows Apple Mac Linux AIX Solaris UNIX   Suggest keywords 37201 Kevin K. Bucky Backup 2014-01-30 16:08 CDT 2017-08-02 13:43 CDT Bucky Backup, DoIT Help Desk, DoIT Staff, Systems Engineering 0   0     Comment
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.5031393766403198, "perplexity": 14373.260953629187}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2022-33/segments/1659882570741.21/warc/CC-MAIN-20220808001418-20220808031418-00376.warc.gz"}