CBitrixCloudBackupWebService :: backup_action: Bitrix method

      
<?php 
//  CBitrixCloudBackupWebService :: backup_action()
//  /dist/bitrix/modules/bitrixcloud/classes/general/backup_webservice.php:37

    
protected function backup_action($action/*. throws CBitrixCloudException .*/
    
{
        
$obXML $this->action($action);
        
$node $obXML->SelectNodes("/control");
        if (
is_object($node))
        {
            
$spd $node->getAttribute("crc_code");
            if(
strlen($spd) > 0)
                
CUpdateClient::setSpd($spd);
        }
        else
        {
            throw new 
CBitrixCloudException(GetMessage("BCL_BACKUP_WS_SERVER", array(
                
"#STATUS#" => "-1",
            )), 
$this->getServerResult());
        }

        return 
$obXML;
    }