备份源控制软件管理的源文件:TortoiseSVN

编程入门 行业动态 更新时间:2024-10-28 14:36:11
本文介绍了备份源控制软件管理的源文件:TortoiseSVN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我是源代码管理的新手,我对昨天在网页上阅读的内容感到困惑(我没有链接).我已按照以下说明操作:创建文件夹结构",然后启动 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屋!

更多推荐

[db:关键词]

本文发布于:2023-04-30 02:29:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1388260.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:源文件   备份   软件   TortoiseSVN

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!