Syntax
If the Purge Store command is used with just a store name, it does a purge on all locations, leaving files only in the default place defined in the store object. For example, if you wanted to purge all files in the store called Maps, you would enter the following MQL command: purge store Maps;
Optional clauses provide more control over which files are deleted. In addition, you can trace the purge event using the
Before ClauseFor more flexibility, you can add a date restriction to the Purge Store command to remove only files that were last checked in prior to the date specified in the command. For example, if you want to purge only files last checked in prior to February 28, 2014 at 9:57:32 AM EST in the store called Maps, enter the following MQL command:
BeforeAtime ClauseInclude the BeforeAtime clause to remove files that were accessed before the date specified in the command. For example:
If you use a date without specifying a time, the default time is set to 12:00:00 AM. Continue ClauseInclude the keyword continue if you don’t want the command to stop if an error occurs. If the log file is enabled, failures are listed in the file. For more information, see trace Command. For example: purge store "Engineering-Dallas" continue;
If an error occurs when using the
Commit N Clause
Include the
Location Clause
To specify a subset of locations that you want purged, include the
When listing locations, delimit with a comma but no space. |