2
votes

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.

1
This link might be resourceful: stackoverflow.com/questions/354994/…Sudhir Bastakoti

1 Answers

1
votes

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.