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.
No, to my understanding, you need one bucket in BackBlaze.
ok awesome so just put all the files in that?
when migrating
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.
ugg of course its not ok
Tbh, I’m not sure there is any official migration path
I am just going to recreate the folders and path to see if it does what I want
That’s not a bad idea
Just make sure you have a backup of Appwrite before you start
I do! I have local files on the server still and a exact copy on my personal computer
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)
When doing said backup I followed the guide but the script would not work
is this a good one
This is the currently recommended method - https://gist.github.com/stnguyen90/fee636ff652b8ecbf761935b2aa254fb
Got it I get a load of errors when I run it but it creates the files so....
What errors?
I got it fixed.
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>
all files that were there before are still there and working tho
You ran docker compose up -d
after updating the envvars?
correct
Recommended threads
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...