Comments (11)
Just saw that Box limits the total size of one file to 250 MB for the free tier... so the '10GB for free' is only for marketing purposes, unless you have many small files. For backups, I'd say backups are rarely below 250 MB and also, Box doesn't know anything about paths, it only uses IDs for their API - which doesn't exist for Go, so we'd need to call their REST API directly. Lastly, everything about Box is geared towards companies and business use, which doesn't make it easier to e.g. create a new app inside Box to try things out with test access tokens.
All that combined is making it quite complicated and let's me pause on that for now if I'm honest.
from docker-volume-backup.
Well if you don't need a long history of backups, maybe the 2GB of Dropbox is already enough.
OneDrive has a 5 GB free tier (not yet implemented here).
Google Drive even has 15 GB free tier (not yet implemented here).
Backblaze B2 has 10 GB free tier (egress will be free too starting at October). You can use this with the S3 backend.
from docker-volume-backup.
If anyone wants to add this, there seems to be an official (published by Dropbox) "unofficial" Dropbox SDK for Go: https://github.com/dropbox/dropbox-sdk-go-unofficial which can do all we need to do here.
from docker-volume-backup.
Nice find.
For Box: has many dev tools and SDKs but not an official Go SDK; however it does have a CLI which (I assume) could be wrapped in go code.
Box is nice because their free tier is a massive 10GiB vs DropBox's 2GiB. Both are good though.
from docker-volume-backup.
Dropbox is now supported as of v2.30.0
from docker-volume-backup.
Haven't heard of Box before. Is it widely used in some countries or am I the only one who never heard of them before?
On another note, if we include Dropbox, perhaps Google Drive make sense as an option too. There is an official Go SDK for it and it also uses OAuth2 like Dropbox.
from docker-volume-backup.
Haven't heard of Box before. Is it widely used in some countries or am I the only one who never heard of them before?
The latter I'm afraid :-) Box is gigantic and in the same league as Dropbox - and like I said above very common in business environments.
from docker-volume-backup.
The latter I'm afraid :-) Box is gigantic and in the same league as Dropbox - and like I said above very common in business environments.
Gotta be honest, I also never came across Box outside of this issue.
On another note, if we include Dropbox, perhaps Google Drive make sense as an option too.
Google Drive is probably heavily used, which is good, but I am a bit worried about API stability here as Google is pretty notorious for just changing things when they feel like it. It's probably not possible to connect to Google Drive using some open standard, e.g. WebDAV, SSH, S3? Also: as we've just been bitten by this: is it possible to run a mock Google Drive in tests instead of having to resort to a live service?
from docker-volume-backup.
I also never came across Box outside of this issue.
Info: https://en.wikipedia.org/wiki/Box_(company) NYSE listed.
Just keep in mind you (probably?) won't find larger storage accounts elsewhere in a free tier.
from docker-volume-backup.
Google Drive is probably heavily used, which is good, but I am a bit worried about API stability here as Google is pretty notorious for just changing things when they feel like it. It's probably not possible to connect to Google Drive using some open standard, e.g. WebDAV, SSH, S3? Also: as we've just been bitten by this: is it possible to run a mock Google Drive in tests instead of having to resort to a live service?
Didn't find anything about WebDAV etc. but there is also a OpenAPI spec for it, just like with Dropbox: Spec.
Edit: There is also a spec for Box.
Edit2: Box works similarly to Dropbox on the API level. Although using the CLI seems complicated (has to be installed via NPM), we could implement it by calling the REST API directly - we just need a few routes anyway. The docs are pretty good and the upload session architecture is similar to Dropbox's.
from docker-volume-backup.
The 250Mib thing is surprising, maybe our backups are small.
EDIT:
oh just checked we create a series of gzip files of ~250 each. :)
Well, thanks for looking into it. After your research which provider do you recommend?
from docker-volume-backup.
Related Issues (20)
- Using Docker labels to have per-service configuration HOT 20
- Error restarting containers after backup HOT 4
- Support structured logging HOT 8
- unexpected behaviour with docker socket proxy HOT 3
- CRLF line ending breaks env file parsing HOT 2
- SSH-Backend Problems HOT 7
- Env vars stopped propagating when using `conf.d`
- Reload config files on change
- Is `BACKUP_FILENAME_EXPAND` still working for multiple conf files in `/etc/dockervolumebackup/conf.d` HOT 12
- Add option for Azure Blob Storage connection strings for authentication HOT 4
- loadConfigsFromEnvFiles does not ignore comments in file configs HOT 3
- "Page not found" error when using with balena HOT 9
- Hard to understand error message during exec HOT 3
- archive-pre is triggered on each container backup instead of just container with exec-label HOT 3
- Health Check HOT 6
- Notifications Delay HOT 1
- Replace Log line feeds with HTML <br> tag HOT 3
- Backup the entire content without directory HOT 4
- Backup to subfolders HOT 2
- Resolve date in AWS_S3_PATH HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-volume-backup.