简体   繁体   中英

Create SVN dump without svnadmin

I have my SVN hosted with a private provider who does not offer svnadmin dump to create my own backups. All I can do is use an SVN client.

I want to be able to use normal svn command lines and create a dump file so I can either back it up or move my SVN repo somewhere else whilst maintaining the history.

Is there any way I can do this? Or will I have to just have to lose the history and relocate.

You should use svnsync .

Here are detailed instructions:

  • create a fresh local repo on your local machine
  • use svnsync init to connect your local repository to your provider's
  • use svnsync sync to replicate the repository to your machine

By this you maintain a local copy on your machine

Keep in mind that your local repository should not get changes from other places than via svnsync sync . But it is the easiest and most convenient way to keep a local backup.

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