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.
To install EZB, run the following command:
chmod +x ./ezb.sh
sudo ./ezb.sh -i
Displays help information about the EZB tool.
ezb -h
Manually backup a specified file to Backblaze B2.
sudo ezb -m -s <filename> -n <name>
<filename>
: The name of the file to be backed up.<name>
: The name to assign to the backup in B2.
Automatically backup a specified file to Backblaze B2.
sudo ezb -a -s <filename> -n <name>
<filename>
: The name of the file to be backed up.<name>
: The name to assign to the backup in B2.
View the backup log to see the history and status of backups.
sudo ezb -l
Restore a file from Backblaze B2.
ezb -r
Perform a threaded backup of a specified folder to Backblaze B2.
sudo ezb -t -m -s <foldername> -n <name>
<foldername>
: The name of the folder to be backed up.<name>
: The name to assign to the backup in B2.
Perform a forked backup of a specified folder to Backblaze B2.
sudo ezb -fo -m -s <foldername> -n <name>
<foldername>
: The name of the folder to be backed up.<name>
: The name to assign to the backup in B2.
Configure EZB with your Backblaze B2 credentials.
sudo ezb -co <b2_api_key> <b2_id> <b2_bucket_name>
<b2_api_key>
: Your Backblaze B2 API key.<b2_id>
: Your Backblaze B2 account ID.<b2_bucket_name>
: The name of your Backblaze B2 bucket.
-
Manual Backup:
sudo ezb -m -s /path/to/file.txt -n my_backup
-
Automatic Backup:
sudo ezb -a -s /path/to/file.txt -n my_auto_backup
-
Threaded Backup:
sudo ezb -t -m -s /path/to/folder -n my_threaded_backup
-
Forked Backup:
sudo ezb -fo -m -s /path/to/folder -n my_forked_backup
-
Configure EZB:
sudo ezb -co your_b2_api_key your_b2_id your_b2_bucket_name
For more detailed usage and options, refer to the help command:
ezb -h
- Backblaze B2 Cloud Storage
For support or further information, please contact the project maintainers.