Get orphaned account details via jetbackup5api
Posted: January 22nd, 2024, 2:16 pm
Hello,
Am trying to create a script that can create a backup and send it to a user via email
During the process, i need an account_id which i can get using the command below:
jetbackup5api -F listBackupForAccounts -D "type=1&contains=511" -O json
The problem is, when i run the command above, it does not return results for orphaned accounts. So whenever I need the account details for orphanned accounts, I cant get them
I have tried modifiying the command to the one below based on the boolean parameter i found under listAccounts function but that paramenter doesn't work for listBackupForAccounts function
jetbackup5api -F listBackupForAccounts -D "type=1&contains=511&orphan=1" -O json
How can I successfully list backups for all accounts, or at least orphan accounts only, using the Jetbackup5API?
Am trying to create a script that can create a backup and send it to a user via email
During the process, i need an account_id which i can get using the command below:
jetbackup5api -F listBackupForAccounts -D "type=1&contains=511" -O json
The problem is, when i run the command above, it does not return results for orphaned accounts. So whenever I need the account details for orphanned accounts, I cant get them
I have tried modifiying the command to the one below based on the boolean parameter i found under listAccounts function but that paramenter doesn't work for listBackupForAccounts function
jetbackup5api -F listBackupForAccounts -D "type=1&contains=511&orphan=1" -O json
How can I successfully list backups for all accounts, or at least orphan accounts only, using the Jetbackup5API?