HP StorageWorks Storage Mirroring Scripting Guide (T2558-96327, April 2009)

11 - 1
Archiving
You can use Storage Mirroring commands to manually archive your files and to recall archived files
from the target.
Manual archiving
1. To start archiving, use the archive start command.
2. To pause archiving, use the archive pause command.
NOTE: As noted in the Scripting Guide Introduction on page 1-1, this guide does not explain
Storage Mirroring features and functions, only the scripting aspects of Storage Mirroring.
For details on the different features and functions, see the Storage Mirroring User’s
Guide.
Command
ARCHIVE START
Description Starts the archive process
Syntax
ARCHIVE START <con_id> FILEAGE <number_days>
FILESIZE <
size>
Options
con_id—Connection ID assigned to the source/target connection
number_days—Any number indicating the age, in days, of the files that
you want archived. Any file older than the days specified will be archived.
size—Any number indicating the size, in KB, of the files that you want
archived. Any file smaller than the specified size would be excluded from
the archive.
Examples
archive start 1 fileage 90 filesize 64
Command
ARCHIVE PAUSE
Description Pauses the archive process
Syntax
ARCHIVE PAUSE <con_id>
Options con_id—Connection ID assigned to the source/target connection
Examples
archive pause 1