简体   繁体   中英

Subversion - make a copy of the entire repository

I am using a commercial Subversion hosting service. In order to make a copy of the entire repository, I can make a request. This gets put into a queue, which normally takes hours. In addition, I have several (10s of) projects hosted there. Each copy request has to be separately for each project, which is kind of painful if I want to do this on a regular basis.

So, is there a way I can make an exact copy of the archive from a Linux command line? ie, just with the SVN client installed?

Or is there any easy (preferably scriptable) way to obtain an archive copy of my repositories?

Kind Regards, Madeleine.

Take a look at the tool rsvndump . It looks like it'll do what you want.

For Subversion version 1.7 or later, there is the command: svnrdump which worked for me.

Syntax:

svnrdump dump https://yourRepository/yourProject > yourProject.dump

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM