The expire command Deactivates the backup objects that you specify in the file specification or with the filelist option. You can specify an individual file to expire, or a file that contains a list of files to expire. If OBJTYPE=VM, this command Deactivates the current backup for a virtual machine.
When you are working in interactive mode, a prompt notifies you before files are expired.
The expire command does not remove workstation files. If you expire a file or directory that still exists on your workstation, the file or directory is backed up again during the next incremental backup unless you exclude the object from backup processing.
If you expire a directory that contains active files, those files are not displayed in a subsequent query from the GUI. However, these files are displayed on the command line, if you specify the correct query with a wildcard character for the directory.
This command is valid for all clients.
.-OBJTYPE=FILE-- --filespec-. >>-EXPire-- --+---------------------------+--+-----------------------+--> '-OBJTYPE=VM-- --vmname-' >--+---------+------------------------------------------------->< '-options-'
When objtype=VM is specified, the expire command expires only full VM backups (MODE=FULL or MODE=IFFULL) for the virtual machine that is specified on the vmname parameter.
Option | Where to use |
---|---|
dateformat | Client options file (dsm.opt) or command line. |
dateformat | Client user-options file (dsm.opt) or command line. |
filelist | Command line only. |
noprompt | Command line only. |
numberformat | Client options file (dsm.opt) or command line. |
numberformat | Client user-options file (dsm.opt) or command line. |
pick | Command line only. |
timeformat | Client options file (dsm.opt) or command line. |
timeformat | Client user-options file (dsm.opt) or command line. |
Command: expire "/home/letter1.txt"
Command: expire c:\home\letter1.txt
Command: expire /admin/mydir/*
Command: expire c:\admin\mydir\*
Command: expire -filelist=/home/avi/filelist.txt
Command: expire -filelist=c:\avi\filelist.txt
Command: expire –objtype=VM vm_test