Integrate S3FS with Backblaze B2
    • Dark
      Light

    Integrate S3FS with Backblaze B2

    • Dark
      Light

    Article summary

    S3FS is a Filesystem in Userspace (FUSE) that allows you to mount a bucket in S3-compatible storage as a local filesystem. You can use S3FS with Backblaze B2 Cloud Storage using the following steps.

    1. Add your Key ID and Application Key into the file /etc/passwd-s3fs, separated by a colon:
      sudo vi /etc/passwd-s3fs
      Use this format for your Key ID and Application Key:
      0xxxxxxxxxxxxxx7:KxxxxxxxxxxxxxxxxxQ
    2. Ensure that the passwd-s3fs file has the correct permissions:
      sudo chmod 640 /etc/passwd-s3fs
    3. Create a directory that will be your local mount point. In this example, the directory is created within the home directory (~):
      sudo mkdir -p ~/s3fs-bucket1
    4. Mount your Backblaze bucket in the local directory that you created, using the following command format.
      sudo s3fs mybucket /path/to/mountpoint -o passwd_file=/etc/passwd-s3fs -o url=https://s3.your-region.backblazeb2.com

    Was this article helpful?