TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Build your own private, encrypted, open-source Dropbox clone

175 pointsby Tho85almost 12 years ago

18 comments

moealmost 12 years ago
Or, you know, just use Dropbox. And add encryption on top with these two commands:<p><pre><code> mkdir ~&#x2F;Dropbox&#x2F;_ ~&#x2F;Dropsafe encfs ~&#x2F;Dropbox&#x2F;_ ~&#x2F;Dropsafe </code></pre> Yes, it&#x27;s as easy as that. On OSX you&#x27;ll have to &#x27;brew install encfs&#x27; first.
评论 #6077390 未加载
评论 #6084188 未加载
sehropealmost 12 years ago
Nice guide. One nitpick:<p>&gt; Add a user for our project and give him a decent password:<p>Better off not giving the encbox user a password at all and only allow SSH key based login. You can already login to the primary&#x2F;root account and sudo&#x2F;su to setup the encbox user and copy SSH keys.
pavsalmost 12 years ago
I am using Owncloud, super easy to install[1]. I have a non-us&#x2F;eu vps storage solution, despite reading others having problem with it, its working great for me.<p>[1] <a href="http://www.slashgeek.net/2013/05/16/host-your-own-dropbox-like-cloud-backup-service-under-5-minutes/" rel="nofollow">http:&#x2F;&#x2F;www.slashgeek.net&#x2F;2013&#x2F;05&#x2F;16&#x2F;host-your-own-dropbox-li...</a>
chakalakaspalmost 12 years ago
I don&#x27;t know why this doesn&#x27;t end up in every thread, but Synology&#x27;s inexpensive NAS systems have a &quot;be your own cloud&quot; feature built in, with corresponding iOS, Windows, Mac, Linux (I think) and android apps. All in a little box you can keep in your house.
mikevmalmost 12 years ago
I&#x27;d never heard of Backupsy before, looks very cool!<p>What is special about their VPS offering that makes it so cheap? I mean, from what I can see for an extra $2&#x2F;month they let you host websites and install anything you want (except torrents, TOR or anything illegal).<p>I&#x27;ve been wanting to have an affordable VPS solution so I could be host my own stuff, and have the freedom to experiment with various development tools, and this might be a decent deal.
评论 #6076269 未加载
tokenizerrralmost 12 years ago
Don&#x27;t reuse the keys, just generate a different key on each client and add them all to authorized_keys
评论 #6075858 未加载
StavrosKalmost 12 years ago
After finding Backupsy (and RamNode, which a commenter suggested), I&#x27;ve found the holy grail of backup solutions. I will write a simple backup script that mounts a remote directory (through SSH or whatever), mounts an EncFS directory on that and rdiff-backups files onto it.<p>This will give you encrypted, snapshotted backups using open-source systems, that are better than Duplicity because you don&#x27;t have to be creating full backups every so often. If you&#x27;d be interested, you can subscribe to my mailing list at <a href="http://bit.ly/stavroslist" rel="nofollow">http:&#x2F;&#x2F;bit.ly&#x2F;stavroslist</a> or follow me on Twitter or something, but please post comments below so I know what functionality to include.
评论 #6078240 未加载
Bjoernalmost 12 years ago
How does this solution measure up to hosting your own Owncloud or alike? Any upsides &#x2F; downsides? I&#x27;m wondering because many non-technical people need a dead simple solution for this if you want to substitute Dropbox.
评论 #6075987 未加载
jlgaddisalmost 12 years ago
&gt; $ cat ~&#x2F;.ssh&#x2F;id_rsa.pub | ssh encbox@your.vps.com &quot;mkdir ~&#x2F;.ssh; cat &gt;&gt; ~&#x2F;.ssh&#x2F;authorized_keys&quot;<p><pre><code> $ ssh-copy-id encbox@your.vps.com </code></pre> Much easier, IMO.
评论 #6076938 未加载
jfbalmost 12 years ago
I applaud this, and other similar efforts (OwnCloud et al) but for me the win with Dropbox is not system to system syncing (for which Unison or rsync works Well Enough for me) but rather as a synchronization service for my mobile devices. This is sadly enough an area where roll-your-own is not going to be able to compete.
评论 #6088738 未加载
评论 #6079131 未加载
emerikaalmost 12 years ago
Are people looking at bitTorrent Sync? (<a href="http://labs.bittorrent.com/experiments/sync.html" rel="nofollow">http:&#x2F;&#x2F;labs.bittorrent.com&#x2F;experiments&#x2F;sync.html</a>) I&#x27;m uing it on a laptop, a server and my android devices. It works great. Seemless.
评论 #6075993 未加载
VuongNalmost 12 years ago
One question: how do you share files securely with others? Have you check out our company&#x27;s free products, <a href="http://ncryptedcloud.com" rel="nofollow">http:&#x2F;&#x2F;ncryptedcloud.com</a>? We secure your data before it goes into Dropbox, allow securely sharing and many more features for FREE to all our consumer users! We only charge for things like auditing beyond certain amount of times, single sign-on integrations, enterprise stuff etc. All we want to do is secure this whole cloud mess.
mikevmalmost 12 years ago
A few notes on Backupsy from their website:<p>&gt;Will you backup my Backup VPS?<p>&gt; Unfortunately, no. Even though we use a RAID protected setup, there is still a slight chance of data loss due to RAID controller failure. For extreme redundancy you can order 2 backup VPS in different nodes and we can mirror them for you (&quot;Configure it for me&quot; addon should be purchased).
Osmiumalmost 12 years ago
This looks cool, but of course you can also use encfs directly with Dropbox or, if you prefer a graphical interface, Boxcryptor[1] have a fork of encfs specifically for cloud storage along with some platform-specific apps.<p>[1] <a href="https://www.boxcryptor.com" rel="nofollow">https:&#x2F;&#x2F;www.boxcryptor.com</a>
评论 #6075938 未加载
luisehkalmost 12 years ago
I wonder if this is really usable like Dropbox. I tried owncloud which is supposed to be the more stable alternative but it kept replacing new files with old ones, sync took ages and security was weak. I really want to support this kind of projects but they hold me from being productive, which I really need right now.
评论 #6076293 未加载
评论 #6075748 未加载
评论 #6075815 未加载
brymasteralmost 12 years ago
This should be taken a step further and have a UI and web control panel just like the real dropbox.
评论 #6075802 未加载
评论 #6076040 未加载
happywolfalmost 12 years ago
If I remember correctly, ZFS has a &#x27;push&#x27; feature that could be a good candidate for this purpose
评论 #6079286 未加载
highball-italmost 12 years ago
You have to trust the VPS provider.
评论 #6075715 未加载
评论 #6076210 未加载