Related links
Developer Resources
Display Quota
Retrieve your IDrive account total quota, used quota using
Quota API.
Syntax:
idevsutil --xml-output --password-file=<account password> --get-quota <username>@<server address>::ibackup
- --password-file=PATH_OF_PSWD_FILE
Reads account password from the specified file. Alternately, you can directly set the password using --password-file=<account password>
- Username
IDrive username. If you do not have a valid username Sign up with IDrive.
- Server address
Use GetServerAddress API to retrieve the IDrive server address.
Code:
idevsutil --xml-output --password-file="MyPassword" --get-quota john@<server address>::ibackup/
The above-mentioned code can be executed using any programming language across any platform (Windows, Mac and Linux).
Output:
Sample XML output:
<tree message="SUCCESS" totalquota="5368709120" usedquota="228468999" filecount="2406" />
Description:
- tree
Root node with attributes message, desc, totalquota, usedquota, filecount.
- message
This attribute describes the operation as SUCCESS or ERROR.
- totalquota
This attribute displays the total quota of your account in bytes.
- usedquota
This attribute displays the total space used in bytes.
- filecount
This attribute displays the total number of files that are available in your account.
You can make use of I / O redirection methods for redirecting IDrive EVS command line utility (idevsutil) output.