HP StorageWorks File Migration Agent V2.1 administrator guide (T4274-96105, October 2006)

File Migration Agent administrator guide 75
CLEANUP
The CLEANUP command reorganizes FMA archives.
Synopsis
Description
Use the CLEANUP command to reorganize FMA archives. This means you will remove copies of deleted
files from the archives.
Options
Example
This command will clean up all files that were deleted more than 30 days ago.
Migrated Migrated Data (not available for FTP as Remote Storage Adapter)
Description Description of the FMA Archive
Table 16 Column descriptions (continued)
Column Output
FMACLI Cle[anup] [--help | -h]
[{--logfile | -L} <logfile>
[--log-info-messages | -V]]
[--verbose | -v]
[--expiration <n>d|h|m|s]
Table 17 CLEANUP command options
Options Description
--help Displays the online help for the CLEANUP command.
-h
--logfile <logfile> Specifies a log file.
The log file must be specified with a fully qualified path. Log files are
created with the following (fixed) policies:
Maximum size is 4 MB. If the files grows bigger than 4 MB, the file
is switched.
Old log files are named as logfile.nnn, where the lowest
number contains the youngest file:
logfile.log -> logfile.000 -> logfile.001 -> ...
-L <logfile>
--log-info-message Write informational messages to log file. This option is meaningful only
in combination with the -L / --logfile option.
(Default: only errors are written to log)
-V
--verbose Verbose mode
(display informational messages)
-v
--expiration <n> Delete all files in all archives, which have been deleted more than an
expiration value <n> ago.
The value <n> can be specified in seconds (s), minutes (m), hours (h),
or days (d).
This option is mandatory, if the -h|--help option is not used.
FMACLI Cleanup --expiration 30d