DropBox 作为版本控制和异地备份

发布于 2024-11-05 14:10:00 字数 617 浏览 2 评论 0原文

读完 Michael Lopp 的书《Being Geek》后,我开始使用 Dropbox 作为在家庭计算机和工作计算机之间同步文件的一种方式。这太棒了,它确实让您可以轻松地跟踪您正在处理的文件的最新版本。

我的问题与人们使用此工具的经验有关,尤其是可能使用它来开发更大项目的程序员。

现在,我看到 Dropbox 的 3 个主要用途:

1. synchronize files between home and work computers
2. version control (you have to log into the dropbox site to access previous versions)
3. off-site backup

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

有人有这样做的经验吗?有人使用 Dropbox 完成过主要文件恢复吗?或者说这已经被广泛使用了?感谢您提前提供反馈。

After reading Michael Lopp's book "Being Geek," I started using Dropbox as a means of synchronizing files between my home computer and work computer. It's been fantastic, it really makes it painless to keep track of the latest version of files you're working on.

My question has to do with people's experience with this tool, especially programmers who may have used it to develop larger projects.

Right now, I see 3 main uses of Dropbox:

1. synchronize files between home and work computers
2. version control (you have to log into the dropbox site to access previous versions)
3. off-site backup

Right now I'm using it as my main backup tool, which I'm not sure is a good idea. But right now I have a local (working) copy of my entire project "checked out" on each computer (my home laptop and my work computer), and additionally, my entire project is kept on the dropbox site. So I'm thinking, if anything happens to one of my computers, or both, I'll still have that off-site backup available and I'll simply have to reinstall dropbox to access all my files.

Does anyone have experience with doing this? Has anyone done a major file recovery using dropbox? Or is this even widely used? Thanks for your feedback in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

愿得七秒忆 2024-11-12 14:10:00

当这些文件在 VCS 中历史记录时,使用 Dropbox 维护多个文件及其关联元数据总是有点棘手,因为存在潜在的损坏问题(如果存储库的这些元数据部分之一未正确同步) ,你最终可能会得到一个非工作存储库)

这就是为什么我总是使用 DropBox:

  • DVCS(如 Git):我可以直接在 DropBox 存储库内的工作树中工作,或者我可以在 DropBox 之外的任何其他地方克隆所述存储库,如果我需要
  • 一个捆绑包我可以随时将本地存储库中的更改推送到该文件,无论该存储库位于何处。

这样,DropBox 中真正需要同步的唯一文件是唯一的捆绑文件(将裸存储库表示为一个文件)。

有关更多信息,请参阅“Git 与 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文