JetBackup5API-Bash-Library is a Bash library that provides full access to the JetBackup 5 API.
You can either source via curl
:
#!/bin/bash
source <(curl -LS "https://raw.githubusercontent.com/Noam-Alum/JetBackup5API-Bash-Integration/refs/heads/main/jb5_integration.bash")
jb5api::listAccounts --request '.data.accounts[-1].username'
.
.
Or download it and source directly:
#!/bin/bash
source jb5_integration.bash
jb5api::listAccounts --request '.data.accounts[-1].username'
.
.
Click here for full documentation:
Tip
Click here for JetBackup5APIs documentation.