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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...