import
Imports a transportable shadow copy from a loaded metadata file into the system. Windows commands reference
On Windows
Windows
Imports a transportable shadow copy from a loaded metadata file into the system. [IMPORTANT] Before you can use this command, you must use the load metadata command to load a DiskShadow metadata file.
import
The following is a sample DiskShadow script that demonstrates the use of the import command
#Sample DiskShadow script demonstrating IMPORT
SET CONTEXT PERSISTENT
SET CONTEXT TRANSPORTABLE
SET METADATA transHWshadow_p.cab
#P: is the volume supported by the Hardware Shadow Copy provider
ADD VOLUME P:
CREATE
END BACKUP
#The (transportable) shadow copy is not in the system yet.
#You can reset or exit now if you wish.
LOAD METADATA transHWshadow_p.cab
IMPORT
#The shadow copy will now be loaded into the system.IdentifyWindows
Imports a foreign disk group into the disk group of the local computer. This command imports every disk that is in the same group as the disk with focus. [IMPORTANT] Before you can use this command, you must use the select disk command to select a dynamic disk in a foreign disk group and shift the focus to it.
import [noerr]import
noerrFor scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without this parameter, an error causes DiskPart to exit with an error code.Several platforms
This command is an alias of magick import.