S3FS Integration with Backblaze B2
- Print
- DarkLight
S3FS Integration with Backblaze B2
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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.
- Add your Key ID and Application Key into the file
/etc/passwd-s3fs
, separated by a colon:
Use this format for your Key ID and Application Key:sudo vi /etc/passwd-s3fs
0xxxxxxxxxxxxxx7:KxxxxxxxxxxxxxxxxxQ
- Ensure that the passwd-s3fs file has the correct permissions:
sudo chmod 640 /etc/passwd-s3fs
- 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
- 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?