code: def ImportUcsBackup(self, path=None, merge=False, dumpXml=False):
  		from UcsBase import WriteUcsWarning, UcsUtils, ManagedObject, WriteObject, UcsUtils, UcsException, \
  			UcsValidationException
  		from Ucs import ConfigConfig
  		from Mos import MgmtImporter
  		from datetime import datetime
  		if (self._transactionInProgress):
  			raise UcsValidationException(
  				"UCS transaction in progress. Cannot execute ImportUcsBackup. Complete or Undo UCS transaction.")
  		if not path:
  			raise UcsValidationException("path parameter is not provided.")
  		if not os.path.exists(path):
  			raise UcsValidationException("Backup File not found <%s>" % (path))
  		dn = None
  		filePath = path
  		localFile = os.path.basename(filePath)
  		topSystem = ManagedObject(NamingId.TOP_SYSTEM)
  		mgmtImporter = ManagedObject(NamingId.MGMT_IMPORTER)
  		mgmtImporter.Hostname = os.environ['COMPUTERNAME'].lower() + datetime.now().strftime('%Y%m%d%H%M')
  		dn = UcsUtils.MakeDn([topSystem.MakeRn(), mgmtImporter.MakeRn()])
  		mgmtImporter.Dn = dn
  		mgmtImporter.Status = Status.CREATED
  		mgmtImporter.RemoteFile = filePath
  		mgmtImporter.Proto = MgmtImporter.CONST_PROTO_HTTP
  		mgmtImporter.AdminState = MgmtImporter.CONST_ADMIN_STATE_ENABLED
  		if merge:
  			mgmtImporter.Action = MgmtImporter.CONST_ACTION_MERGE
  		else:
  			mgmtImporter.Action = MgmtImporter.CONST_ACTION_REPLACE
  		inConfig = ConfigConfig()
  		inConfig.AddChild(mgmtImporter)
  		uri = "%s/operations/file-%s/importconfig.txt" % (self.Uri(), localFile)
  		if sys.version_info < (2, 6):
  			uploadFileHandle = open(filePath, 'rb')
  			stream = uploadFileHandle.read()
  		else:
  			progress = Progress()
  			stream = file_with_callback(filePath, 'rb', progress.update, filePath)
  		request = urllib2.Request(uri)
  		request.add_header('Cookie', 'ucsm-cookie=%s' % (self._cookie))
  		request.add_data(stream)
  		response = urllib2.urlopen(request).read()
  		if not response:
  			raise UcsValidationException("Unable to upload properly.")
  		ccm = self.ConfigConfMo(dn=dn, inConfig=inConfig, inHierarchical=YesOrNo.FALSE, dumpXml=dumpXml)
  		if (ccm.errorCode != 0):
  			raise UcsException(ccm.errorCode, ccm.errorDescr)
  		return ccm.OutConfig.GetChild()