Deletefiles

Use the deletefiles option with the archive command to delete files from your workstation after you archive them.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systemsYou can also use this option with the restore image command and the incremental option to delete files from the restored image if they were deleted after the image was created. Deletion of files is performed correctly if the backup copy group of the Tivoli® Storage Manager server has enough versions for existing and deleted files.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems

Supported Clients

This option is valid for all clients. The Tivoli Storage Manager client API does not support this option.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DELetefiles-------------------------------------------------><

Parameters

There are no parameters for this option.

Examples

Command line:
Mac OS X operating systems
dsmc archive "/Users/dgordon/Documents/*.c" –deletefiles
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systems
dsmc archive "/home/foo/*.c" –deletefiles
dsmc restore image /local/data -incremental -deletefiles
Windows operating systems
dsmc archive c:\foo\*.c –deletefiles
dsmc rest image c: -incre -deletefiles