Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Dbxfs – A Dropbox-backed file system (github.com/rianhunter)
111 points by lowe on Oct 3, 2018 | hide | past | favorite | 37 comments


See also: https://github.com/archiecobbs/s3backer

Run a normal filesystem on top of S3! (Non-shared.)

In theory it might have really good performance due to your kernel caching blocks and files, and 25Gbit throughput to S3. Dependent of course on your instance being in EC2 and in the right region and having a big enough instance to get 25Gbit network.

I tried AWS EFS and found the performance very sad. Like 100Mbit even with a 25Gbit instance and the highest-specced EFS filesystem.


EFS performance was tied to how much storage you were using (at the rate of 50KiB/s per GB stored… with the ability to burst to 100MiB/s based on a credit system. A file system storing 256GiB can sustain 12.5MiB/s and burst to 100MiB/s for up to 180 minutes per day.

If you like, you can now specifically provision throughput for EFS at the rate of about $6 per MiB/s (8Mbps) per month.


I provisioned throughput on the EFS filesystem to the largest allowed value and still got crappy performance. Maybe it was the access pattern of the data, but large bulk file transfer performance was no higher than 100Mbit on a 25Gbit instance...


After Dropbox stopped supporting filesystems besides non-encrypted Ext4 I've dropped it entirely.

I now use SpiderOak One, which doubles as E2E encrypted cloud backup in addition to folder sync.


I switched to Syncthing with the main desktop backed up to S3 with zbackup (encrypted). Syncthing works really well (and faster!) when keeping laptops and desktops in sync for my case.


The one killer feature I wish Syncthing had was untrusted peers like Resilio has. There has been an issue[0] open since 2014 but I guess there are still major challenges to this feature.

It would be great for me to be able to specify a certain node as encrypted and read-only like I can in Resilio. If a friend wanted to store his files on my machine and vice-versa, we could do so without being forced to give access to each others plaintext files. Likewise, if I wanted to spin up a VPS and host an untrusted node to help facilitate syncing but didn't want my unencrypted files to be sitting on the disk, I could do so easily.

[0] https://github.com/syncthing/syncthing/issues/109


can you please explain what scenario this applies....whatis...node/


How do you use Syncthing with S3?


Just have a service on one of your nodes sync the local directory to S3 occasionally, but SyncThing doesn't do it for you.


What's the considered opinion on SpiderOak after the whole warrant canary thing?

https://news.ycombinator.com/item?id=17696276


Personally I was a Spideroak customer for 2 years or so and moved to Tresorit after the canary thing. They offer very similar features but their apps are a lot better. Spideroak always felt quite clunky. Also, the servers are based in Europe.

I don't think either is great to use with lots of data as upload and download seem quite slow, but for my use case of just storing documents it is fine.


They are located in the united states. That alone is more than enough to push me away.


SpiderOak has some serious performance issues if you have a lot of data. I just wanted to back up a few hundred GB of data but the client wouldn't do more than ~10Mbit/s on my gigabit line.

Also worth noting their "zero-knowledge" stuff is broken as soon as you log in to the website or use one of the mobile apps, at which point the server has your key.


If you want to have encryption with Dropbox, we just launched FileSafe at Standard Notes. It encrypts files client side then uploads to Dropbox (or any WebDAV server).

https://listed.standardnotes.org/@sn/2703/encrypt-your-dropb...


You can make an Ext4 filesystem in a file, loopback mount that and point Dropbox at it. Works just fine.


Or just use disk-level encryption (like LUKS).


SpiderOak looks interesting. The biggest features for me missing from other "sync a folder to the cloud" type services are selective syncing on a machine-by-machine basis and generating public links for my files. These are the only two things keeping me away from iCloud Drive.


Spideroak does both of those things. They call those features "sync" and "share".

I have a "work" folder that is synced to my work laptop and desktop, but not my personal laptop.

I haven't used the "share" feature, but it exists and it says right at the top of the tab in the client that it's for making public links.


Yeah, I'm in the same boat. That was a pretty sad move on their part considering their argument about extended attributes made no sense whatsoever.

I personally switched over to MegaSync, I have an account from a while ago that has 50GB space for lifetime, which is enough for my PDFs.


Just checked them out. They're pricing is super competitive too.

Do they have the 'un-delete' feature that Dropbox has?


Their main business is personal backup, so they would be remiss to not have a good restore feature.

Each of your computers is associated with a "deleted items bin" where files go when the backup finds you delete them locally. They never get automatically deleted (even when you've reached your backup quota? the website isn't clear).


How about truecrypt/veracrypt with Dropbox ?


Nope. I run that (on windows) and got an email telling me I wouldn't be able to use it on that machine any more.


Does this work for mounting Dropbox for Business folders? If so, this solves a significant problem for Linux users of Dropbox (whose official Linux client does not support account switching).


If you are talking about having multiple Dropbox accounts on Linux here it goes. You may not see two systray icons but Dropbox daemons works in background.

[Dropbox Wiki]: http://www.dropboxwiki.com/tips-and-tricks/run-multiple-inst...

[Arch Wiki]: https://wiki.archlinux.org/index.php/dropbox#Multiple_Dropbo...


I'll just note that you can mount Dropbox as a file system with rclone ( https://rclone.org/ ) using the rclone mount subcommand.

rclone mount also works with the 20 or so cloud providers supported by rclone (s3, gcs, swift, box, dropbox, b2, etc).

rclone runs on Linux, Windows, macOS and quite a few other architectures! It is written in Go.


Fwiw Dbxfs seems to be a lot faster than rclone


In light of what Storj.io is about to bring to market, I'm curious to see if this could be modified to work with it. I'm a huge fan of Dropbox and have used it almost every day for the past 7 years, but if a decentralized option comes along with feature parity and comparable pricing, I'd switch in a heartbeat.


CloudMounter was pretty easy to setup and use. Provides encryption too...

https://cloudmounter.net/


The author should think about applying to Dropbox ;)


Isn't the author a Dropbox employee? Not sure if he's still at Dropbox but I believe he's one of the first employees.


That was the joke, newhouseb used to be in charge of the sync team at Dropbox :)


Waiting for someone to implement dropbox-based deployment of a PHP site.


you would need a webserver for that?


elaborate


check this one out: www.lucidlink.com

more than s3 sync


We've come full circle from the original dropbox post on here




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: