
Note: If an Application Key is restricted to only one bucket, the Allow List All Bucket Names option must be checked for compatibility with S3 APIs. The key can either be allowed to access all buckets by selecting “All” in the Allow access to Bucket(s) dropdown list, or it can be limited to only the bucket you have just created. In the Add Application Key dialog, enter the name of the key. On the Application Keys page, click the Add a New Application Key button. Note: The Master Application Key is not S3 Compatible and cannot be used in CubeBackup, so you’ll want to create a new non-master Application key. Now, you can copy the bucket name (not the Bucket ID) and paste it to the Bucket textbox on the CubeBackup configuration wizard.Ĭopy the value of the Endpoint and paste it to the Endpoint textbox on the CubeBackup configuration wizard, with “ in the front of the endpoint address.įor the Application Key ID and Application Key, head to the App Keys page.
B2 BACKBLAZE UPDATE
In the Lifecycle Settings dialog, select “Keep only the last version of the file”, then click Update Bucket. However, since CubeBackup already has version control, enabling all versions in the Backblaze bucket will result in unnecessary file duplication and cost. By default, a Backblaze bucket will keep all versions of your files. In the dialog that pops up, enter a unique bucket name (keeping other options as default) and click the Create a Bucket button.Īfter the bucket has been created, you should change the “Lifecycle Settings” of the bucket.

Where previously, the request response data was the root object in the promise resolution ( res), this data now resides in res.data. The Promise resolution has a different data structure.
B2 BACKBLAZE CODE
However, there are a couple changes that will break your code and ruin your day.

Upgrading from 0.9.x to 1.0.xįor this update, we've switched the back end HTTP request library from request to axios as it has better Promise and progress support built in. See the CHANGELOG for a history of updates. Const B2 = require ( 'backblaze-b2' ) const b2 = new B2 ( ) Changes
