Rank 3: Container
Okay then i guess I can’t take backup with Appwrite cloud
Votes
1
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
Okay then i guess I can’t take backup with Appwrite cloud
Rank 3: Container
But I can with self hosted by taking backup of my VPS instance and then I can restore it from that ?
Moderator
You will need to run a script to do the backup. There is a tutorial on Youtube
Rank 3: Container
Can you please share link 🔗?
Moderator
Moderator
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
Moderator
I want to have 1.4 due to migrations
Moderator
So I can have a replica as backup. I will probably make a script for everyone to do automatic backups
Moderator
With appwrite functions
Moderator
Basically an scheduled "migration"
Moderator
Main issue is that migrations API seems not to be documented and only available for console
Rank 3: Container
Or I can use web hooks to keep the separate copy of database of specific project on other private instance?
Rank 3: Container
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.
Rank 3: Container
I don’t know what I’m saying 😂
Moderator
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.
Moderator
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.
Moderator
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
Rank 3: Container
Okay
Rank 3: Container
[SOLVED] Appwrite Cloud Backups