Backing up source files managed by source control software: TortoiseSVN

三世轮回 提交于 2020-01-17 08:40:13

问题


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:

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

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.


回答1:


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

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


来源:https://stackoverflow.com/questions/17250383/backing-up-source-files-managed-by-source-control-software-tortoisesvn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!