Backblaze 2



  1. B2 Blaze
  2. Backblaze 2 Free
  3. Backblaze 2 Download

Backblaze B2 averaged around 30mbps in New York from their systems for restores. It would go as high as 80mbps down to only a few kb a second during restores, but would overall average 30mbps. If this is acceptable performance, I had no major issues with B2, the price was certainly right. Contents Introduction Phase 1 – Create the Backblaze B2 Bucket Phase 2 – Install and Configure Synology CloudSync Phase 3 – Configure Veeam Backup Repository Phase 4 – Create the Veeam Backup Job Phase 5 – Testing and Tuning Summary Introduction B2 Cloud Storage is an object storage service offered by Backblaze that enables users and organisations to. The partnership between Backblaze and Cloudflare enables storing content on Backblaze's B2 storage service and automatically feeding it as needed into Cloudflare's CDN (Content Delivery Network). This permits content to live in Backblaze B2, yet be delivered with the low latency and high speed of one of the world's premier CDNs.

  • Truly unlimited backup. Whether you have just 1 Megabyte or tons of Terrabytes of files, Backblaze has no issue backing it all up for you. Considering that most backup services come with a space limit, this is an invaluable feature for the price you are getting (more on that later).
  • The two services are separate; Backblaze encompasses the encryption and online backup portion, while B2 is a cloud repository that is not affected by any local changes you make. Backblaze users get.

SAN MATEO, Calif.--(BUSINESS WIRE)--Apr 22, 2021--

Leading storage cloud company Backblaze, and Jamf (JAMF) —the standard in Apple enterprise management—announced a joint solution partnership to make Backblaze backup and data protection services available with ease in the Jamf admin ecosystem.

Paired with the announcement from Backblaze of updates to Mass Deployment tools to streamline commands for installs and updates of its backup app, these improvements offer a step change in ease for IT Administrators tasked with safeguarding computers, servers, NAS, or Veeam data.

The Jamf Partnership

Jamf is the standard in Apple enterprise management, so our partnership means that the thousands of admins in the Jamf ecosystem can more easily use Backblaze in their backup and data protection strategies for businesses.

“Providing the tools to connect, manage, and protect Apple products, while streamlining the user experience is core to Jamf’s mission—adding Backblaze and their latest Mac deployment options to the Jamf Marketplace Mac admins we serve is hugely helpful. We’re very excited to be deepening our collaboration with Backblaze.” — Sam Weiss—Manager, Solution Partner Program, Jamf

The Mass Deployment Upgrade

For any team administering backups for a large fleet of machines, the improvements to our mass deployment suite streamline commands for new user installs and add support for installs on existing users’ workstations when they’re replaced due to refresh policy or equipment loss. Backblaze will introduce an updated Mac client for mass installs within weeks, after having just recently delivered an updated Windows Mass Silent Installer (MSI) for workforce PCs.

Netgovern, an information governance company, adopted Backblaze Groups to manage their team’s backups. Roland Gaspar, IT Director, described the ease of use he experienced when administering backups for all employees:

“In terms of ease of deployment and the simplicity of the whole experience—from downloading the software, to enabling the service, to requesting the restore—all of that just works with Backblaze.”

As companies’ refresh policies increasingly require workstation replacements every 4-5 years, and technology companies increasingly do so more like every 3 years, these latest mass install improvements translate to significant time savings, fast, for IT admins.

For more information, visit the Backblaze blog or Jamf Marketplace. Organizations that seek to get started immediately can contact Backblaze here.

About Backblaze

Backblaze makes managing data astonishingly easy for businesses and consumers. The Backblaze Storage Cloud provides a foundation for businesses, developers, IT professionals, and individuals to store, back up and archive data, host content, manage media, build their applications, and more. With more than an exabyte of data under management, the company currently works with nearly 500,000 `customers in over 175 countries. Founded in 2007, the company is based in San Mateo, CA. For more information, please go to www.backblaze.com.

View source version on businesswire.com:https://www.businesswire.com/news/home/20210422005121/en/

CONTACT: Patrick Thomas, Head of Publishing, Backblaze (patrick@backblaze.com)

Naomi Sabbah, SourceCode Communications (backblaze@sourcecodecomms.com)

Backblaze

KEYWORD: UNITED STATES NORTH AMERICA CALIFORNIA

INDUSTRY KEYWORD: DATA MANAGEMENT SECURITY TECHNOLOGY SOFTWARE NETWORKS INTERNET

SOURCE: Backblaze, Inc.

Copyright Business Wire 2021.

PUB: 04/22/2021 11:00 AM/DISC: 04/22/2021 11:01 AM

http://www.businesswire.com/news/home/20210422005121/en

  • DESCRIPTION / SET UP
  • METHODS

Backblaze::B2V2Client - Client library for the Backblaze B2 Cloud Storage Service V2 API.

This module should help you create buckets and store/retrieve files in the Backblaze B2 cloud storage service using V2 of their API.

Backblaze makes it easy to sign up for B2 from here:

Then enable the B2 service as per these instructions:

Next, visit the 'App Keys' section of the 'My Account' area, and look for the 'Add a New Application Key' button to create an application key. You will need a key with Read and Write access. Be sure to note the Application Key ID as well as the Application Key itself. They do not show you that Application Key again, so copy it immediately.

Please store the Application Key pair in a secure way, preferably encrypted when not in use by your software.

New: b2_client Command Line Utility

Backblaze::B2V2Client now includes the 'b2_client' command line utility to easily download or upload files from B2. Please execute 'b2_client help' for more details, and here are a few examples:

BackBlaze B2 also has a S3-compatible API

Backblaze has added an S3-compatible API, which you can read about here:

They are continuing to support their native B2 API, so I will continue to use and support this module. I have not tested the S3 modules with Backblaze, but if you already have an S3 integration, it is worth checking out how Paws::S3 or Awes::S3 works with Backblaze.

Backblaze

Testing Your Credentials

During install, this module will attempt to connect to B2 and download a 16KB file into memory. To test using your B2 account credentials, set these environmental varables prior to attempting to install:

The GUID for a file is displayed when you click on that file's name in the 'Browse Files' section of the B2 UI.

new

Creates the B2 client object and initiates an API session with B2.

Requires two arguments: the Application Key ID and Application Key obtained from Backblaze.

b2_download_file_by_id

Retrieves a file plus metadata given the GUID of that file. The first argument is required and will be the file's GUID. If you would like to auto-save the file, provide a path to an existing directory as the second argument.

Regardless of auto-save, the file's raw contents will be placed in to $b2client->{b2_response}{file_contents} and the following keys will be populated under $b2client->{b2_response}:

See https://www.backblaze.com/b2/docs/b2_download_file_by_id.html

b2_download_file_by_name

Works like b2_download_file_by_id() except that it expects the bucket name and file name as arguments. The optional third argument is an existing directory path for auto-saving the file.

See https://www.backblaze.com/b2/docs/b2_download_file_by_name.html

b2_upload_file

Uploads a new file into B2. Accepts a hash of arguments. The name of the destination bucket must be provided in 'bucket_name'. If you would like to upload a file already saved on disk, specify the complete file path in 'file_location'. Alternatively, if the file is loaded up into a scalar, provide the new file name in 'new_file_name' and assign the loaded scalar into 'file_contents'.

Example 1: Uploading from a file on disk:

Example 2: Uploading when the file is loaded into a scalar:

Storage

NOTE: If you are going to use the 'file_contents' method, it's best to load the scalar using the 'slurp_raw' method in Path::Tiny. (I believe 'read_file' in File::Slurp will work, but have yet to test.)

You can also pass a 'content-type' key with the MIME type for the new file. The default is 'b2/auto'.

Upon a successful upload, the new GUID for the file will be available in $b2client->{b2_response}{fileId} .

See: https://www.backblaze.com/b2/docs/b2_upload_file.html

b2_upload_large_file

Uploads a large file into B2. Recommended for uploading files larger than 100MB. Accepts a hash of arguments, which must include the name of the destination bucket in 'bucket_name' and the complete file path of the file in 'file_location'.

Example:

b2_list_file_names

Retrieves an array of file information hashes for a given bucket name. That array is added to @{ $b2client->{buckets}{$bucket_name}{files} }.

See https://www.backblaze.com/b2/docs/b2_list_file_names.html , especially the section for 'Response' to see what is included for those file info hashes.

Note that B2 limits this response to 1000 entries, so if you have a very large bucket, you can call this method several times and check the value in $b2client->{buckets}{$bucket_name}{next_file_name} after each call.

Example:

b2_get_file_info

Given a GUID for a file, will retrieve its info hash and load into $b2client->{file_info}{$file_id}.

See https://www.backblaze.com/b2/docs/b2_get_file_info.html , particularly the section for 'Response' to see what is provided.

Example:

b2_bucket_maker

Creates a new bucket in your B2 account, given the name for the new bucket. The bucket type will be set to 'allPrivate'.

Will retrieve the new bucket's ID into:

See: https://www.backblaze.com/b2/docs/b2_create_bucket.html

Backblaze

Example:

b2_delete_bucket

Deletes a bucket from your B2 account, provided that it is empty. Requires the target bucket's name as the argument.

B2 Blaze

See: https://www.backblaze.com/b2/docs/b2_delete_bucket.html

Example:

b2_delete_file_version

Deletes a version of a file, AKA a stored object. If you use unique file names for each file you upload, then one version equals one file. If you upload multiple files with the same name under a single bucket, you will create multiple versions of a particular file in B2.

The required arguments are the file name and the file ID.

Example:

b2_talker / b2_get_upload_url / b2_list_buckets

b2_talker() handles all the communications with B2. You should be able to use this to make calls not explicitly provided by this library.

If b2_talker() gets a 200 HTTP status from B2, then the call went great, the JSON response will be loaded into $b2client->{b2_response}, and $b2client->{current_status} will be set to 'OK'.

If a 200 is not received from B2, $b2client->{current_status} will be set to 'Error' and a hash error details will be added to @{ $b2client->{errors} }. That hash usually includes the called URL, the returned status code, and the error message.

Note that the base URL for this API session will be stored under $b2client->{api_url} so that you build a URL like so:

Backblaze 2 Free

$list_buckets_url = $b2client->{api_url}.'/b2api/v2/b2_list_buckets';

Example of a GET API request:

Example of a POST API request:

Almost all the API calls use the Account Authorization Token for the authorization header, but the file uploader calls require a bucket-specific token and upload URL. You can retrieve these via b2_get_upload_url() with the bucket name as an argument.

Example:

This populates:

Note: You have to call b2_get_upload_url on a bucket for each file upload operation. My b2_upload_file method does that for you, so that's just FYI if you roll your own.

See: https://www.backblaze.com/b2/docs/b2_get_upload_url.html

If you need the ID for one or more buckets, you can use b2_list_buckets. If a bucket name is provided, only that bucket's ID will be retrieved. If no argument is provided, all the ID's will be retrieved for all buckets in your account.

Example:

You now have $b2client->{buckets}{'MyBucketName'}{bucket_id}

See: https://www.backblaze.com/b2/docs/b2_list_buckets.html

This module requires:

In order to get this to work properly on Ubuntu 18.04, I installed these system packages:

B2 API Docs: https://www.backblaze.com/b2/docs/

Backblaze::B2 - V1 API Client for B2

Paws::S3 - If using Backblaze's S3-compatible API.

Eric Chernoff <eric@weaverstreet.net>

Please send me a note with any bugs or suggestions.

Thanks to ESTRABD for submitting a bugfix when using the 'file_contents' option in the b2_upload_file() method.

MIT License

Copyright (c) 2020 Eric Chernoff

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Backblaze 2 Download

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

To install Backblaze::B2V2Client, copy and paste the appropriate command in to your terminal.

For more information on module installation, please visit the detailed CPAN module installation guide.