在读完迈克尔·洛普(Michael Lopp)的书《 Being Geek》之后,我开始使用Dropbox作为在家用计算机和办公计算机之间同步文件的一种方式。真是太棒了,它可以使您轻松跟踪正在处理的文件的最新版本。

我的问题与人们对该工具的使用经验有关,特别是可能使用它开发大型项目的程序员。

现在,我看到了Dropbox的3种主要用途: 通用标签

现在,我将其用作主要备份工具,但我不确定这是个好主意。但是现在,我在每台计算机(家用笔记本电脑和工作计算机)上都“检出”了整个项目的本地(工作)副本,此外,我的整个项目都保存在了保管箱站点上。因此,我在想,如果我的一台计算机或两者都发生了任何事情,我仍然可以使用该异地备份,并且只需要重新安装Dropbox即可访问我的所有文件。

有人有这样做的经验吗?有人使用保管箱进行过主要文件恢复吗?还是被广泛使用?感谢您的提前反馈。

有帮助吗?

解决方案

Using Dropbox to maintain several files and its associated metadata when those files are historized in a VCS is always a bit tricky because of potential corruption issue (if one of those metadata part of the repository isn't correctly synchronized, you can end up with a non_working repo)

That is why I always use with DropBox:

  • a DVCS (like Git): I can work directly in a working tree within a DropBox repo or I can clone said repo anywhere else outside the DropBox if I need to,
  • a single bundle file to which I can push at any time the changes from my local repo, wherever that repo might be.

That way, the only file that really need to be in sync in DropBox is that unique bundle file (representing a bare repo as one file).

See "Git with DropBox" for more.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top