备份源控制软件管理的源文件:TortoiseSVN [英] Backing up source files managed by source control software: TortoiseSVN

查看:31
本文介绍了备份源控制软件管理的源文件:TortoiseSVN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是源代码管理的新手,我对昨天在网页上阅读的内容感到困惑(我没有链接).我已按照以下说明操作:创建文件夹结构",然后启动 Reprobrowser",然后将源文件复制到主干文件夹中.请看下面的屏幕截图:

I am new to source control and I am confused with something I read on a webpage yesterday (I don't have the link). I have followed these instructions: "create folder structure", then "Start Reprobrowser", then copy source files into trunk folder. Please see the screen shot below:

但是,当我使用 Windows 资源管理器导航到该文件夹​​时,我看不到此文件夹结构.我看到了:

However, when I navigate to the folder using Windows Explorer I do not see this folder structure. I see this:

因此我在徘徊:文件物理存储在哪里?我问的原因是因为我想确保 NetBackup(企业备份工具)备份正确的目录.

Therefore I am wandering: where are the files physically stored? The reason I ask is because I want to ensure that NetBackup (corporate backup tool) backs up the correct directories.

推荐答案

要了解存储库结构,您需要阅读有关 SVN 的所有文档,但备份 SVN 存储库的首选方法是通过命令

To make sense of the repository structure you need to read all the documentation on SVN, but the preferred way to backup a SVN repository is through the command

svnadmin dump your_svn_repository_path > destination_filename_backup.svn

您可以在公司工具执行数据完整备份之前的某个时间将此命令置于运行的计划任务中,并在备份作业中包含 destination_filename_backup.svn

You could put this command in a scheduled task running sometime before your corporate tool execute the full backup of your data and include the destination_filename_backup.svn in your backup job

如果您需要恢复备份(在重新创建存储库后),您可以使用该命令

If you ever need to restore the backup (after recreating the repository) you could use the command

svnadmin load your_svn_repository_path < destination_filename_backup.svn

这篇关于备份源控制软件管理的源文件:TortoiseSVN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆