pepermund
pepermund2mo ago

Cloud backup bandwidth

How does the size of file/database storage relate to cloud backup bandwidth when daily backups are enabled? How much daily bandwidth would be required to back up 1GB of data? From my experience, it seems like backups consume a large amount of bandwidth— is this typical? are there any ways to optimize backup bandwidth?
2 Replies
lee
lee2mo ago
the bandwidth to back up 1GB of data should be 1GB. Note this is the full size of the documents, which is appromately the size of the serialized JSON (but concretely defined here https://github.com/get-convex/convex-backend/blob/85cffca3b46f1f3b45b953417351e2e9503261cc/crates/value/src/lib.rs#L393 ). If you're seeing more than that, we would like to look into it.
GitHub
convex-backend/crates/value/src/lib.rs at 85cffca3b46f1f3b45b953417...
The Convex open-source backend. Contribute to get-convex/convex-backend development by creating an account on GitHub.
pepermund
pepermundOP2mo ago
Hi, thanks for your response! I'm seeing 1.7x stored GBs. Maybe it has something to do with the backups that expire also taking some bandwith(?) Anyway, the difference between 1 and 1.7 is not really my problem. The problem is with file storage. Normally, file storage only costs 0.03$ per month per GB. But with daily backups enabled, file storage becomes orders of magnitude more expansive because of bandwidth costs, to the point that it does not really make financial sense to store files on Convex. -- Are you considering adding different backup strategies(incremental or differential) other than only full backups for files?

Did you find this page helpful?