https://github.com/ismaildrs/ezb
EZB is a command-line tool designed to simplify backing up files to Backblaze B2 cloud storage. It supports various backup functionalities including automatic, threaded, and forked backups.
https://github.com/ismaildrs/ezb
backblaze-b2 bash clanguage command-line-tool linux linux-shell shell
Last synced: 5 months ago
JSON representation
EZB is a command-line tool designed to simplify backing up files to Backblaze B2 cloud storage. It supports various backup functionalities including automatic, threaded, and forked backups.
- Host: GitHub
- URL: https://github.com/ismaildrs/ezb
- Owner: ismaildrs
- License: mit
- Created: 2024-04-29T14:25:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T12:27:49.000Z (about 2 years ago)
- Last Synced: 2025-01-23T23:52:03.043Z (over 1 year ago)
- Topics: backblaze-b2, bash, clanguage, command-line-tool, linux, linux-shell, shell
- Language: Shell
- Homepage:
- Size: 26.7 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EZB (Easy Backup) Command Line Tool

EZB is a command-line tool designed to simplify backing up files to Backblaze B2 cloud storage. It supports various backup functionalities including automatic, threaded, and forked backups.
## Installation
To install EZB, run the following command:
```sh
chmod +x ./ezb.sh
sudo ./ezb.sh -i
```
## Commands and Usage
### Help
Displays help information about the EZB tool.
```sh
ezb -h
```
### Manual Backup
Manually backup a specified file to Backblaze B2.
```sh
sudo ezb -m -s -n
```
- ``: The name of the file to be backed up.
- ``: The name to assign to the backup in B2.
### Automatic Backup
Automatically backup a specified file to Backblaze B2.
```sh
sudo ezb -a -s -n
```
- ``: The name of the file to be backed up.
- ``: The name to assign to the backup in B2.
### View Log
View the backup log to see the history and status of backups.
```sh
sudo ezb -l
```
### Restore Backup
Restore a file from Backblaze B2.
```sh
ezb -r
```
### Threaded Backup
Perform a threaded backup of a specified folder to Backblaze B2.
```sh
sudo ezb -t -m -s -n
```
- ``: The name of the folder to be backed up.
- ``: The name to assign to the backup in B2.
### Forked Backup
Perform a forked backup of a specified folder to Backblaze B2.
```sh
sudo ezb -fo -m -s -n
```
- ``: The name of the folder to be backed up.
- ``: The name to assign to the backup in B2.
### Configure
Configure EZB with your Backblaze B2 credentials.
```sh
sudo ezb -co
```
- ``: Your Backblaze B2 API key.
- ``: Your Backblaze B2 account ID.
- ``: The name of your Backblaze B2 bucket.
## Examples
1. **Manual Backup**:
```sh
sudo ezb -m -s /path/to/file.txt -n my_backup
```
2. **Automatic Backup**:
```sh
sudo ezb -a -s /path/to/file.txt -n my_auto_backup
```
3. **Threaded Backup**:
```sh
sudo ezb -t -m -s /path/to/folder -n my_threaded_backup
```
4. **Forked Backup**:
```sh
sudo ezb -fo -m -s /path/to/folder -n my_forked_backup
```
5. **Configure EZB**:
```sh
sudo ezb -co your_b2_api_key your_b2_id your_b2_bucket_name
```
## Additional Information
For more detailed usage and options, refer to the help command:
```sh
ezb -h
```
## Acknowledgments
- Backblaze B2 Cloud Storage
For support or further information, please contact the project maintainers.