Introduction
You may want to write a script and need the users and backups available for those users.
Procedure
The following API documented provides this output.
Return backup files for the server's accounts
Example Output:
04:51:13[cptestvm]~ # whmapi1 backup_set_list_combined
---
data:
backup_set:
cpanelusr:
-
when: 2021-11-02
where: local
-
when: 2021-10-31
where: local
-
when: 2021-10-30
where: local
-
when: 2021-10-27
where: local
-
when: 2021-10-13
where: local
cptestusr1:
-
when: 2021-11-02
where: local
destination_legend: ~
metadata:
command: backup_set_list_combined
reason: OK
result: 1
version: 1
04:52:14[cptestvm]~ #