Table of ContentsView in Frames

Performing a manual SnapMirror update

You can perform an unscheduled SnapMirror incremental update, independent of the schedule in the /etc/snapmirror.conf file.

Step

  1. From the destination system, enter the following command:snapmirror update [options] [dest_system:] {dest_volume | /vol/dest_volume/qtree_path}
    options can be one or more of the following:
    • -k n sets the maximum transfer speed to n kilobytes per second. This option has the same effect as the kbs argument in the /etc/snapmirror.conf file.
    • -s snapshot_name specifies an existing (qtree only) source Snapshot copy to be transferred, rather than a Snapshot copy taken by the source. SnapMirror does not lock or delete this Snapshot copy.
      Note: snapshot_name cannot be minutely.x, hourly.x, nightly.x, weekly.x, snapshot_for_backup.x or snapshot_for_volcopy.x. You must rename such Snapshot copies on the source and then copy them.
    • -c snapshot_name creates a Snapshot copy named snapshot_name of a qtree on the destination after the next update (so that it does not compete with any ongoing updates). SnapMirror does not lock or delete this Snapshot copy.
      Note: snapshot_name cannot be minutely.x, hourly.x, nightly.x, or weekly.x, because these names are reserved for scheduled Snapshot copies.
    • -S [source_system:]source_volume | qtree_path specifies the source system and volume for the update. source_volume is the volume you want to copy.

      The source specified by the -S option must match an entry for source_volume in the /etc/snapmirror.conf file. If an entry exists but does not match, the operation displays an error message and terminates. If there is no entry for the specified source volume, the command runs.

      Note: If the -S option is not set, the source must be specified in the /etc/snapmirror.conf file. If it is not specified, the operation displays an error message and terminates.

    dest_system specifies the name of the destination system.

    dest_volume specifies the destination volume. If it is a scheduled destination of a local source volume, as specified in the /etc/snapmirror.conf file, that source volume is considered to be the source. If the destination volume specified is not in a scheduled relationship, then the -S option must be used to provide a source.

    Example
    Using the following command, SnapMirror updates the destination (vol2 on systemB) from the source specified in the /etc/snapmirror.conf file.
    systemB> snapmirror update systemB:vol2
    Example
    Using the following command, SnapMirror updates the qtree destination on systemB:/vol/vol2/usersbak from the source qtree on systemA:/vol/vol1/users.
    systemB> snapmirror update -S systemA:/vol/vol1/users systemB:/vol/vol2/usersbak