Skip to content

Instantly share code, notes, and snippets.

@jfinstrom
Last active March 15, 2024 21:55
Show Gist options
  • Save jfinstrom/ae360b61cb39acada90eaf8944296039 to your computer and use it in GitHub Desktop.
Save jfinstrom/ae360b61cb39acada90eaf8944296039 to your computer and use it in GitHub Desktop.
Configuring BackBlaze for FreePBX 15.x+ Filestore Module

Introduction:

This guide outlines the steps to integrate BackBlaze B2 cloud storage with the Filestore Module in FreePBX 15.x and later.

Prerequisites:

  • An active BackBlaze B2 account
  • BackBlaze Application Key ID and Application Key (found under "Application Keys" in your BackBlaze account)

Instructions:

  1. Navigate to the Filestore Module:

    • Within FreePBX, go to Settings -> Filestore Module.
  2. Create a new S3 Filestore:

    • Click Add Storage Location.
    • Select S3 Compatible as the Storage Type.
  3. Configure BackBlaze Settings:

    • Local Display Name: Enter a descriptive name for your BackBlaze storage (e.g., "BackBlaze Backup")
    • Bucket Name: Enter your BackBlaze bucket name.
    • AWS Region: This field can be left as the default, as you'll specify the endpoint directly.
    • AWS Access Key: Enter your BackBlaze Application Key ID.
    • AWS Secret: Enter your BackBlaze Application Key.
    • Path: Set to / (The root of your bucket)
  4. Advanced Tab Settings:

    • Custom Endpoint: Enter your BackBlaze bucket's endpoint URL (find this on your BackBlaze B2 dashboard).
    • Custom Region: Leave this field blank.
  5. Save Changes:

    • Click Submit and then Apply Config to save your settings.

Important Notes:

  • The endpoint URL for your BackBlaze bucket can be found within your BackBlaze B2 account settings.
  • Ensure the Application Key you use has the necessary permissions to access your BackBlaze bucket.

Credit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment