Back

How to use backblaze for appwrite

  • 0
  • Self Hosted
BloodThermic
11 Apr, 2024, 02:02

I am wanting to move from local to backblaze but have never done anything like this. How do I go about migrating data, and how do I set up buckets? I have the file path for the upload locations /var/lib/docker/volumes/appwrite_appwrite-uploads/_data but am not sure what is the best way to set up buckets.

TL;DR
Developers discussing how to use Backblaze for Appwrite storage. Funneled down errors to an unsupported ACL value issue. Recommended using a specific method for integration and highlighted importance of proper Appwrite backups. Suggested having complete Appwrite backups before attempting migration, ensuring a smooth transition.
ideclon
11 Apr, 2024, 03:05

No, to my understanding, you need one bucket in BackBlaze.

BloodThermic
11 Apr, 2024, 03:07

ok awesome so just put all the files in that?

BloodThermic
11 Apr, 2024, 03:07

when migrating

ideclon
11 Apr, 2024, 03:09

I’m not quite sure how migration goes, but I’m pretty sure it’s not as simple as just uploading all the files from the Volume.

BloodThermic
11 Apr, 2024, 03:10

ugg of course its not ok

ideclon
11 Apr, 2024, 03:10

Tbh, I’m not sure there is any official migration path

BloodThermic
11 Apr, 2024, 03:12

I am just going to recreate the folders and path to see if it does what I want

ideclon
11 Apr, 2024, 03:13

That’s not a bad idea

ideclon
11 Apr, 2024, 03:13

Just make sure you have a backup of Appwrite before you start

BloodThermic
11 Apr, 2024, 03:13

I do! I have local files on the server still and a exact copy on my personal computer

ideclon
11 Apr, 2024, 03:14

I’d recommend you have a proper backup of all of Appwrite, not just the files themselves (if you care about the data on there, of course)

BloodThermic
11 Apr, 2024, 03:15

When doing said backup I followed the guide but the script would not work

BloodThermic
11 Apr, 2024, 03:16

is this a good one

ideclon
11 Apr, 2024, 03:24
BloodThermic
11 Apr, 2024, 03:27

Got it I get a load of errors when I run it but it creates the files so....

ideclon
11 Apr, 2024, 03:47

What errors?

BloodThermic
11 Apr, 2024, 03:57

I got it fixed.

BloodThermic
11 Apr, 2024, 03:58

I am now trying to upload a file to test but I get this error <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Error> <Code>InvalidArgument</Code> <Message>Unsupported value for canned acl 'private'</Message> </Error>

BloodThermic
11 Apr, 2024, 03:58

all files that were there before are still there and working tho

ideclon
11 Apr, 2024, 03:59

You ran docker compose up -d after updating the envvars?

BloodThermic
11 Apr, 2024, 03:59

correct

BloodThermic
11 Apr, 2024, 04:00
TypeScript
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more