Now you can check the contents of the new repository using TortoiseSVN. This restores your repository from the dump file: ![]() Then run the following command: svnadmin load C:\SVN\MyProject < C:\tmp\MyProject.bak C:\SVN\MyProject2) to hold the data you want to restore. To restore the repository from the dump file, you should first create a new repository (e.g. This saves all revision in a backup file:Ģ. ![]() To take backup of repository you will need to start the command line interpreter (Start -> Run -> cmd.exe) and execute the command: svnadmin dump C:\SVN\MyProject > C:\tmp\MyProject.bak We are going to use the tool svnadmin, which comes with Subversion.ġ. You want to save it contents in C:\tmp\MyProject.bak (file extension does not matter). ![]() How to backup and restore a repositoryįor Example your repository is in C:\SVN\MyProject. Needles to say that your repository (as any other database) should be backed up on a regular basis. In this article I will show how to take backup and restore your svn repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |