Live data from Hacker News

Replacing Dropbox in favor of DigitalOcean spaces

mitjafelicijan.com

111–120 of 201 posts

Re: Replacing Dropbox in favor of DigitalOcean spaces

#111

$5 for 250GB of storage and then $20 per TB ($0.02/GB) after that seems a bit steep. Plans and Pricing The base rate of a Spaces subscription is $5/month and gives you the ability to create multiple Spaces. The subscription includes 250 GiB of data storage (cumulative across all of your Spaces). Additional storage beyond this allotment is $0.02/GiB. If you cancel your subscription by destroying all your Spaces, your…

With prices like that, Microsoft Office 365 subscription that gives you 1TB of OneDrive space, seems like a better deal.

Re: Replacing Dropbox in favor of DigitalOcean spaces

#112
post #43

Earlier quoted context omitted.

Always start all your bash scripts with set -e You'll never regret it and might be very very very happy it was there. And if you start with that, then as you work on the shell script, you'll be more likely to make the script be idempotent (checking for files before copying, checking for lines in files before appending/sed'ing etc.) Idempotent >> non-idempotent for "alter the state on an end point" things.

Also, "unofficial bash strict mode" is terrific, especially if you intend to distribute a script: http://redsymbol.net/articles/unofficial-bash-strict-mode/ set -euo pipefail IFS=$'\n\t' (You can always turn, for example, error checking back off for an individual portion of the script with `set +e`)

Adding "-E" should be considered as well, so traps are also applied in functions.

Re: Replacing Dropbox in favor of DigitalOcean spaces

#113

You could also go the route of using Backblaze for storage and Cloudflare for delivery. You'll pay $1.25 for the same 250gb ($0.005/gb) and get free bandwidth through CF.

Does this have a limitation? Size or whatever ?

I want something to store peertube videos and serve them. This sounds like too good to be true

Re: Replacing Dropbox in favor of DigitalOcean spaces

#114
post #13

You wrote about deplatforming-- heads up that DigitalOcean does deplatform people. I have direct firsthand knowledge of DigitalOcean deplatforming a security disclosure professional reporting a root breach bug. For your secure backups, I can suggest Tarsnap by Colin Percival, who's a security expert and a frequent contributor on Hacker News. I don't get anything for recommending Tarsnap; I'm just a customer. https://…

Wait, their pricing is $0.25 per GB per month, so $250 per month for 1 TB? What the heck?

Re: Replacing Dropbox in favor of DigitalOcean spaces

#115

$5 for 250GB of storage and then $20 per TB ($0.02/GB) after that seems a bit steep. Plans and Pricing The base rate of a Spaces subscription is $5/month and gives you the ability to create multiple Spaces. The subscription includes 250 GiB of data storage (cumulative across all of your Spaces). Additional storage beyond this allotment is $0.02/GiB. If you cancel your subscription by destroying all your Spaces, your…

I think hetzner is about half an expensive (€8 tb/m) and I personally prefer ssh/rsync to http/S3.

>I think hetzner is about half an expensive (€8 tb/m)

What offering is that? Their "storage" page quotes 26 euros for 5TB.

Re: Replacing Dropbox in favor of DigitalOcean spaces

#116
post #43

Earlier quoted context omitted.

Always start all your bash scripts with set -e You'll never regret it and might be very very very happy it was there. And if you start with that, then as you work on the shell script, you'll be more likely to make the script be idempotent (checking for files before copying, checking for lines in files before appending/sed'ing etc.) Idempotent >> non-idempotent for "alter the state on an end point" things.

Also, "unofficial bash strict mode" is terrific, especially if you intend to distribute a script: http://redsymbol.net/articles/unofficial-bash-strict-mode/ set -euo pipefail IFS=$'\n\t' (You can always turn, for example, error checking back off for an individual portion of the script with `set +e`)

The options are good, but I don't like the IFS suggestion. Bash has a perfectly good way of dealing with spaces in array elements. Fixing the example in the article is as simple as adding double quotes around the array:

    for name in "${names[@]}"; do
      echo "$name"
    done
The will not result in a single element, but will destructure each element of names, as if each were double-quoted, and will print the same output that the "strict mode IFS setting" does.

What's more, the double-quoted array solution will work even if the elements contain newlines or tabs.

Re: Replacing Dropbox in favor of DigitalOcean spaces

#117

> To use this on Windows I suggest using Subsystem for Linux or Cygwin. Unless you live inside these environments, an easier option would be rclone[1]. I use it on a regular basis to sync large loads to Digital Ocean Spaces, including its bandwidth limiting schedule to avoid saturating the residential uplink at inconvenient times. [1] https://rclone.org

> including its bandwidth limiting schedule

Can you share more about this please?

The biggest (related) issue I run into running rclone from home is hitting the request speed limit on Digital Ocean Spaces. I frequently get the "Slow down!" error when backing up a bunch of small (<1mb) files.

Re: Replacing Dropbox in favor of DigitalOcean spaces

#118

You could also go the route of using Backblaze for storage and Cloudflare for delivery. You'll pay $1.25 for the same 250gb ($0.005/gb) and get free bandwidth through CF.

Though it's always worth testing based on use case. I use B2 for backups, which works great. But when doing some testing with a more interactive load, I really didn't like how many timeouts I got.

Re: Replacing Dropbox in favor of DigitalOcean spaces

#119

If that's what you are doing why not just go to Wasabi? It is cheaper, storage is the only thing that they do and downloads is free until the GB transferred is under GB stored per month.

I looked at Wasabi not long ago. > For customers that use Wasabi’s pay-as-you-go pricing model, Wasabi has a minimum monthly charge associated with 1 TB of storage ($5.99/month). If you store less than 1 TB of active storage in your account, your total charge will still be $5.99/month (plus any applicable taxes). See FAQ#4 for more details. > With Wasabi minimum storage retention policy, minimum number of days are as…

Six dollars a month isn't small scale?

Re: Replacing Dropbox in favor of DigitalOcean spaces

#120

You could also go the route of using Backblaze for storage and Cloudflare for delivery. You'll pay $1.25 for the same 250gb ($0.005/gb) and get free bandwidth through CF.

If you're doing this more "quick and easy developer" style, Backblaze is definitely something worth following up. B2 would be way better for the cost ($0.005/gb). DO Spaces, Linode Object Storage and AWS S3 are all about the same price ($0.02/gb).
Post reply on HN