1

The svn server of our company has crashed, and all data lost.

The is a project with latest data in a development machine, I want to import it to new created svn server, and keep the commit history information(at least the version number), then let others switch there project to the new server.

Is it possible? And how to do that?

Freewind
  • 193,756
  • 157
  • 432
  • 708

1 Answers1

3

If you have a backup you can restore it to a new machine using this:

svnadmin load "C:\SvnData\Project" < "C:\Backup.dump"

If you don't have a backup you can export then import the current working copy into a new repository but you will lose the versioning history.

Freewind
  • 193,756
  • 157
  • 432
  • 708
Mand Beckett
  • 682
  • 4
  • 9