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



You 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
Parameters
There are no parameters for this option.
Examples
- Command line:
-

dsmc archive "/Users/dgordon/Documents/*.c" –deletefiles


dsmc archive "/home/foo/*.c" –deletefiles dsmc restore image /local/data -incremental -deletefiles
dsmc archive c:\foo\*.c –deletefiles dsmc rest image c: -incre -deletefiles
