An open API service indexing awesome lists of open source software.

https://github.com/noam-alum/jetbackup5api-bash-integration

JetBackup5API-Bash-Library is a Bash library that provides full access to the JetBackup 5 API.
https://github.com/noam-alum/jetbackup5api-bash-integration

automation bash bash-lib bash-library bash-script ci-cd cicd devops jb5api jetbackup jetbackup5 jetbackup5api

Last synced: 9 months ago
JSON representation

JetBackup5API-Bash-Library is a Bash library that provides full access to the JetBackup 5 API.

Awesome Lists containing this project

README

          

# JetBackup5API Bash integration

![made-with-bash](https://img.shields.io/badge/Made%20with-Bash-1f425f.svg)

JetBackup5API-Bash-Library is a Bash library that provides full access to the [JetBackup 5 API](https://docs.jetbackup.com/v5.3/api/).

![JetBackupLogo](https://docs.jetbackup.com/v5.3/images/jetbackup_solid_navbar.png)

### How to use

**You can either source via `curl`:**
```bash
#!/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:**
```bash
#!/bin/bash
source jb5_integration.bash

jb5api::listAccounts --request '.data.accounts[-1].username'
.
.
```

![Hero](/images/hero.png)

### Simple example of usage:

![img](examples/create_backup/create_backup.gif)

Click here for full documentation:

[![Documentation Button](https://readme-components.vercel.app/api?component=button&text=Documentation)](docs/README.md)

---

> [!TIP]
> Click [here](https://docs.jetbackup.com/v5.3/api/) for JetBackup5APIs documentation.