The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backup::listfullbackups no data return

Discussion in 'cPanel Developers' started by Rusas, Apr 1, 2013.

  1. Rusas

    Rusas Registered

    Joined:
    Apr 1, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi!

    CPanel version 11.36.0.20.

    I try to get a list of backups for account.
    Call API2 function listfullbackups in module Backups.

    My request:
    :2087/xml-api/cpanel?user=testusername&cpanel_xmlapi_module=Backups&cpanel_xmlapi_func=listfullbackups&cpanel_xmlapi_apiversion=2

    Answer:
    <?xml version="1.0" ?>
    <cpanelresult>
    <apiversion>2</apiversion>
    <event>
    <result>1</result>
    </event>
    <func>listfullbackups</func>
    <module>Backups</module>
    </cpanelresult>

    No infomation about pending and completed backups.

    Why?? Weekly and monthly backups exsists in /backup/cpbackup/weekly and /backup/cpbackup/monthly.

    In documentation ApiBackups < ApiDocs/Api2 < TWiki
    Must returns:
    <data>
    <status> The status of the backup.</status>
    <localtime> The time the backup was completed in human-readable format.</localtime>
    <file> The name of the backup file. This can be accessed by calling '/download&file=$file'.</file>
    <time> The time the backup was completed in Unix time format.</time>
    </data>

    What I doing wrong???

    THANK YOU!!
    Ruslan
     
    #1 Rusas, Apr 1, 2013
    Last edited: Apr 2, 2013
Loading...

Share This Page