Tivoli Header

Tivoli Storage Manager for Windows Backup-Archive Clients Installation and User's Guide

Delete Archive

The delete archive command deletes archived files from server storage. Your administrator must give you authority to delete archived files.

Attention: When you delete archived files, you cannot retrieve them. Verify that the files are obsolete before you delete them.

Supported Clients

This command is valid for all Windows clients.

Syntax

>>-Delete ARchive--+----------+--+- filespec----------------+--><
                   '- options-'  '- {filespacename}filespec-'
 
 

Parameters

options
You can use these command line options with the delete archive command: description, filelist, noprompt, pick. For more information about command line options, see Chapter 10, "Using Options with Commands".

You can use the subdir common option with the delete archive command. For information about common options, see Chapter 9, Setting Processing Options.

filespec
Specifies the path and file name that you want to delete from storage. Use wildcard characters to specify a group of files or all files in a directory. You can also enter up to 20 file specifications in a command
Note:
If you indicate filespacename, do not include a drive letter in the file specification.

{filespacename}
Specifies the file space (enclosed in braces) on the server that contains the file you want to delete. This is the name on the workstation drive from which the file was archived. You can specify UNC names; drive label names are only used for removable media.

Use the filespacename if the name has changed, or if you are deleting files archived from another node with drive labels that are different from yours. You must specify a mixed or lowercase NTFS file space name enclosed in quotes and braces. For example, {"NTFSDrive"}.

Single quotes or double quotes are valid in loop mode. For example, {"NTFSDrive"} and {'NTFSDrive'} are both valid. In batch mode, only single quotes are valid. The single quotes requirement is a restriction of the operating system.

Examples

Task
Delete files from file space abc in the proj directory.

Command: del arc {abc}\proj\*.*

Task
Delete a file named budget.jan.

Command: del arch c:\plan\proj1\budget.jan

Task
Delete all files archived from the c:\plan\proj1 directory with a file extension of .txt.

Command: del arch c:\plan\proj1\*.txt

Task
Delete files archived from the c:\project directory using the pick option.

Command: d ar c:\project\*.* -pick


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]