The Backblaze Integration plugin saves the files of RISE, and your Easy Backup backups, in a private Backblaze B2 bucket instead of on your server. This article explains how to set it up, step by step.
Features
- Files of the site: new uploads (projects, tasks, tickets, notes, timeline, invoices, profile images and more) are saved in the bucket.
- Private bucket: files are shown and downloaded with links that expire. The bucket doesn't need to be public.
- Pasted images: images pasted into notes, comments and tickets keep working after their link expires.
- Big files: large files are uploaded in parts.
- One upload per file: files are sent to Backblaze once, when they are saved. No temporary copies are kept in the bucket.
- Backups: Backblaze B2 is a backup destination of the Easy Backup plugin.
- Safe uploads: if Backblaze can't be reached, the file can be saved on the server instead.
- Files saved by the earlier Backblaze plugin keep working.
What you need
- RISE 4.2 or newer.
- An account at backblaze.com with B2 Cloud Storage.
In Backblaze you will create 2 things: a bucket (where the files are saved) and an application key (what RISE signs in with). It takes about 5 minutes.
Step 1: Create the bucket
- Sign in to Backblaze.
- In the left menu, under B2 Cloud Storage, click Buckets, then Create a Bucket.
- Bucket Unique Name: enter a name, for example rise-files. Use small letters, numbers and dashes. The name must be unique in all of Backblaze.
- Files in Bucket are: keep Private. RISE doesn't need a public bucket.
- Keep the other options as they are and click Create a Bucket.
- The bucket now shows its Endpoint, for example s3.us-west-004.backblazeb2.com. Write it down: the part between s3. and .backblazeb2.com (here us-west-004) is the region you need in RISE.
Step 2: Keep only the last version of files
By default Backblaze keeps a hidden copy of every deleted file, which still uses storage.
- On the bucket, click Lifecycle Settings.
- Select Keep only the last version of the file and click Update Bucket.
Step 3: Create the application key
- In the left menu click Application Keys, then Add a New Application Key.
- Name of Key: enter rise.
- Allow access to Bucket(s): select your bucket.
- Type of Access: select Read and Write.
- Leave the other fields empty and click Create New Key.
- Copy the keyID and the applicationKey. The applicationKey is shown only once.
Step 4: Connect RISE
- In RISE go to Settings > Integration > Backblaze.
- Turn on Enable Backblaze.
- Paste the keyID in Key ID and the applicationKey in Application key.
- Enter the Bucket name.
- In Region enter the region from step 1 (for example us-west-004). You can also paste the whole endpoint.
- Click Save & authorize. The plugin uploads, reads and deletes a small test file.
- The page reloads and the Status shows Authorized. From now on new files are saved in the bucket.
If you see an error instead, see the Problems table in Backblaze integration - Settings and problems.
Check that it works
- Upload a file to a note or a project.
- Open the file: it opens from a backblazeb2.com link.
- In Backblaze open Buckets, then Browse Files of your bucket: the file is there.
Update from the earlier Backblaze plugin
- Replace the plugin with this version.
- Go to Settings > Integration > Backblaze, turn on Enable Backblaze and enter the key ID, application key, bucket and region again (the earlier settings are not copied).
- Leave Folder in the bucket empty to keep the same place as before.
- Click Save & authorize. Files saved before, and images pasted before, show again.