Okay then i guess I can’t take backup with Appwrite cloud
But I can with self hosted by taking backup of my VPS instance and then I can restore it from that ?
You will need to run a script to do the backup. There is a tutorial on Youtube
Can you please share link 🔗?
Looks old, but seems it still works. Sincerely I din't have tried it yet, but will try today if possible prior to upgrading to 1.4
I want to have 1.4 due to migrations
So I can have a replica as backup. I will probably make a script for everyone to do automatic backups
With appwrite functions
Basically an scheduled "migration"
Main issue is that migrations API seems not to be documented and only available for console
Or I can use web hooks to keep the separate copy of database of specific project on other private instance?
Like 2 Appwrite instances 1 use publicly exposed and used by users. And another once on other server keeping copy of live data of the same project and I can backup the main both Appwrite instances as per this video.
I don’t know what I’m saying 😂
You can do that with migrations API
Huh - I thought there was an appwrite migrations
command on the CLI, but checking just now, it looks like I was wrong
The video linked is about backing up your Appwrite server. You are left with a backup.zip file you can keep (I guess rename to each date?) and restore in the future. But again, this can’t be done at a Project level.
What you could do is run an automated Migration daily, even to the same server. That way, you’d end up with a bunch of Projects in your Appwrite server, one each day. If you want to “restore” a backup, you’d switch the Project ID in your apps to point to the correct Project.
Yeah, that backups the whole instance and obviously cannot be done in cloud
Well, it’s (presumably) pretty much what’s being done in Cloud for their backups. It would just be impossible to restore just one Project from that - you could only roll back the entire instance.
Yes, that's it unfortunately. Hope they add support for project level backups
It’s been talked about, but it’s still in the very early planning stages.
If your issue has been solved, you can mark this post as closed by adding “[SOLVED]” to the beginning of the title
Okay
[SOLVED] Appwrite Cloud Backups
Recommended threads
- Error When load the website
Hi, I am getting this error whenever I reload my website please help me, I am using react Error: ** GET https://cloud.appwrite.io/v1/account 401 (Unauthoriz...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Current User is Not authorized
recreating same Thread