Use the get-local-backup-list to retrieve the list of backups stored in the Plesk's local storage.
A request XML packet retrieving a list of backups stored in the local storage includes the get-local-backup-list operation node:
<packet>
<backup-manager>
<get-local-backup-list>
...
</get-local-backup-list>
</backup-manager>
</packet>
The get-local-backup-list node is presented by type BackupGetLocalBackupListInput (backup.xsd
), and its graphical representation is as follows:
Note: You must specify one of the mentioned nodes in a request packet.
Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.
The get-backup-status node of the output XML packet is presented by type BackupGetLocalBackupListOutput (backup.xsd
) and structured as follows:
common.xsd
).backup.xsd
).It can be graphically represented in the following way:
backup.xsd
).common.xsd
).
The following request packet retrieves the list of local backups for customer account MyAccount:
<packet>
<backup-manager>
<get-local-backup-list>
<customer-login>MyAccount</customer-login>
</get-local-backup-list>
</backup-manager>
</packet>
Response:
<packet version="1.6.7.0">
<backup-manager>
<get-local-backup-list>
<result>
<status>ok</status>
<backup>
<file>
<name>12-11-2003-mycustomer_3_8.bak</name>
<creation-date>1179482633</creation-date>
<description/>
<size>0</size>
<not-backup/>
</file>
</backup>
<backup>
<file>
<name>priest_2007.05.18_17.12</name>
<creation-date>1179483198</creation-date>
<description>sdf backup.
Creation date: May 18, 2007 05:12 PM</description>
<size>128732</size>
</file>
</backup>
</result>
</get-local-backup-list>
</backup-manager>
</packet>
I