AddImageStoreBackupStorage

Adds an ImageStore backup storage. For example,
AddImageStoreBackupStorage hostname="10.0.33.123" username=admin name=imagestore 
url="/data/imagestore" password=password importImages=false

Parameters

Name Description Optional Valid Value Starting Version
hostname The hostname of the ImageStore backup storage. 1.6
username The SSH username of the ImageStore backup storage. 1.6
password The SSH password of the ImageStore backup storage. 1.6
sshPort The SSH port of the ImageStore backup storage. Yes 1.6
url The path for storing local data in ImageStore. 1.6
name The ImageStore name. 1.6
description The detailed description of ImageStore. Yes 1.6
type The backup storage type: ImageStoreBackupStorage. Yes 1.6
importImages Whether to import images. Yes 1.9
resourceUuid The resource UUID. Yes 1.6
userTags The user tags. For more information, see CreateUserTag. The resource type is ImageStoreBackupStorageVO. Yes 1.6
systemTags The system tags. For more information, see CreateSystemTag. The resource type is ImageStoreBackupStorageVO. Yes 1.6
timeout Yes
Note:
  • When you add an ImageStore backup storage in ZStack Cloud, you can specify the method to mount the storage path of the ImageStore backup storage by adding the fsInfo option to SystemTags.
    • Format of the fsInfo option: fsInfo::type::$TYPE::url::$URL::options::$OPTIONS
    • Example: fsInfo::type::nfs::url::172.32.1.119:/nas/nfs2::options::nolock,vers=3,rsize=32768,wsize=32768