Parameter
-ap=partition:partition
Examples
Restore Local Examples
Table F-7
Example
img -restorel /
myimages/myimage.zmg
-part=8
img -restorel /
myimages/myimage.zmg
img -restorel /
myimages/myimage.zmg
-s=2
img -restorel /
myimages/myimage.zmg
-ap=a2:p1 -ap=a3:p1
Specifies
A mapping between a partition in the image archive (apartition) and a target
physical partition on the local machine (ppartition). Use this parameter to
selectively restore a specific part of the image to a specific local partition.
IMPORTANT: If you use this parameter, none of the existing local partitions
are removed, and only the target local partition is updated. The update
process does not remove any existing files; however, any existing files of the
same names are overwritten. If you want to remove all existing files from the
target partition before updating it, first use the
delete and recreate the partition. If you choose to restore the base image, you
need to delete and recreate the target partition before restoring the image
because your system might be left in an inconsistent state if the Selective
Partition Image restoration fails.
For apartition, use the partition number displayed for the source partition in the
Image Explorer (zmgexp)
utility. For ppartition, use the partition number
displayed by
img dump
for the target partition. The target partition must be a
partition of a supported file system. You can repeat this parameter as needed
to request multiple selective restorations in a single operation. In doing so, you
can apply multiple parts of the image to a single local partition, but you can't
apply the same part of an image to multiple local partitions in a single
operation.
Explanation
Removes all existing local partitions except the one in slot 8, retrieves
the image from
myimages/myimage.zmg
partitions and contents of that image on the available local writable
devices (assuming there is sufficient local space and that slot 8 contains
a partition).
Removes all existing local partitions, retrieves the image from
myimages/myimage.zmg
partitions and contents of that image on the available local writable
devices (assuming there is sufficient space).
Removes all existing local partitions, retrieves the image from
myimages/myimage.zmg
partitions and contents of file set 2 of that image on the available local
writable devices (assuming there is sufficient space).
Retrieves the image from
partition, updates local partition 1 with the data from partitions 2 and 3 of
that image, and leaves the other local partitions unchanged (assuming
there is sufficient space in local partition 1).
Partition Operations Mode
in slot 8, and restores the
in the ZENworks partition, and restores the
in the ZENworks partition, and restores the
myimages/myimage.zmg
ZENworks Imaging Engine Commands 227
to
in the ZENworks
Need help?
Do you have a question about the ZENWORKS 10 CONFIGURATION MANAGEMENT SP3 - PREBOOT SERVICES AND IMAGING REFERENCE 10.3 16-04-2010 and is the answer not in the manual?
Questions and answers