Summary:
Searches existing backup archives for a specific server.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
Search options. You may specify any option or any combination of the options. |
|
|
|
|
|
Returns:
Backup information if the specified server was found or an empty structure otherwise.
Name |
Min/Max |
Type |
Description |
|
|
Backup information. |
Description:
If you are connected to the master node in a Virtuozzo group, the call will search through all backups located on every physical node. If you are connected to a slave node, the call will perform the search locally. To search for a backup on a backup server located elsewhere, connect to that server and execute the call there.
Example:
Searching backups by the hostname of the server.
Input
<packet version="4.0.0">
<target>backupm</target>
<data>
<backupm>
<search>
<options>
<hostname>Host-106</hostname>
</options>
</search>
</backupm>
</data>
</packet>
Output
<ns1:packet xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/backupm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="1bc45dc7d1at491cr488" time="2007-02-20T09:53:21+0000" priority="0" version="4.0.0">
<ns1:origin>backupm</ns1:origin>
<ns1:target>vzclient3</ns1:target>
<ns1:dst>
<ns1:director>gend</ns1:director>
</ns1:dst>
<ns1:data>
<ns2:backupm>
<ns2:backup>
<ns2:eid>57c2cd6c-c02b-4645-bdb5-e883ea005896</ns2:eid>
<ns2:count>2</ns2:count>
<ns2:id>57c2cd6c-c02b-4645-bdb5-e883ea005896/20070219150134</ns2:id>
<ns2:time>2007-02-19T20:01:34+0000</ns2:time>
<ns2:size>12714907</ns2:size>
<ns2:type>0</ns2:type>
<ns2:storage_eid>89e27960-97b8-461f-902f-557b4b16784b</ns2:storage_eid>
<ns2:info>
<ns2:message></ns2:message>
<ns2:name></ns2:name>
<ns2:translate/>
<ns2:parameter>
<ns2:message>SG9zdC0xMDY=</ns2:message>
<ns2:name>hostname</ns2:name>
<ns2:translate/>
</ns2:parameter>
<ns2:parameter>
<ns2:message>MTAuMTMwLjEuNg==</ns2:message>
<ns2:name>ip</ns2:name>
<ns2:translate/>
</ns2:parameter>
<!-- The rest of the output is omitted for brevity -->
</ns2:backup>
</ns2:backupm>
</ns1:data>
<ns1:src>
<ns1:director>gend</ns1:director>
</ns1:src>
</ns1:packet>