Deletefiles

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

Windows operating systemsLinux operating systemsOracle Solaris operating
systemsAIX 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 IBM® Storage Protect server has enough versions for existing and deleted files.

Supported Clients

This option is valid for all clients. The IBM Storage Protect API does not support this option.

Syntax

Read syntax diagramSkip visual syntax diagramDELetefiles

Parameters

There are no parameters for this option.

Examples

Command line:
Mac OS X operating
systems
dsmc archive "/Users/dgordon/Documents/*.c" –deletefiles
Linux operating systemsOracle Solaris operating
systemsAIX 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