Unleash innovation, unburden teams, and unlock budgets with S3-compatible cloud storage at 1/5th the cost.
Go to siteThe Backblaze API offers robust capabilities for managing data storage and backup solutions on the cloud. Via Pipedream, you can tap into this API to automate tasks like file uploads, data backups, and management of storage buckets. Utilizing Pipedream’s serverless platform, developers can create event-driven workflows to connect Backblaze with other apps, trigger actions based on specific conditions, and streamline operations without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
backblaze: {
type: "app",
app: "backblaze",
}
},
async run({steps, $}) {
const data = {
"accountId": `${this.backblaze.$auth.account_id}`,
}
return await axios($, {
method: "post",
url: `${this.backblaze.$auth.api_url}/b2api/v3/b2_list_buckets`,
headers: {
"Content-Type": `application/json`,
"Authorization": `${this.backblaze.$auth.oauth_access_token}`,
},
data,
})
},
})
Automated Backup for New Shopify Orders: Automatically back up new order details from Shopify to a secure Backblaze bucket. Each time a new order is placed in Shopify, a Pipedream workflow triggers, pulling the order data and storing it as a JSON file in Backblaze. This ensures that important sales data is securely backed up and readily available for analytics or archival purposes.
Sync New Files from Dropbox to Backblaze: Set up a workflow where new files added to a specified Dropbox folder are automatically backed up to a Backblaze bucket. The workflow listens for new files in Dropbox using Pipedream's Dropbox trigger, then uploads these files to Backblaze, providing a secondary, secure backup location for important documents or media files.
Photo Backup from Instagram to Backblaze: Create a Pipedream workflow that automatically saves new photos you post on Instagram to a Backblaze bucket. This can be especially useful for photographers or social media managers who want to ensure that a high-quality backup of their digital assets is always available off-platform.
Backblaze uses OAuth authentication. When you connect your Backblaze account, Pipedream will open a popup window where you can sign into Backblaze and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Backblaze API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://api.backblazeb2.com/b2api/v3/b2_authorize_account
GET
https://api.backblazeb2.com/b2api/v3/b2_authorize_account
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}