Ticket #467 (closed: self-service)
Cant restore svn backup.
| Reported by: | audetto | Owned by: | jwigglesworth |
|---|---|---|---|
| Keywords: | svn backup restore | Cc: | |
| Private: | no |
Description
Hi,
I would like to restore a previously saved version of my svn repository.
I've saved a copy using rsync, generated a dump file, uploaded.
So far so good, now, following the instructions, I do
adminrepo -c svn
svnadmin load /svnroot/andsoft < dumpfile
And I get an error
[audetto@shell-21001 ~]$ svnadmin load /svnroot/andsoft < uploads/sf.dump
<<< Started new transaction, based on original revision 1
svnadmin: File already exists: filesystem '/svnroot/andsoft/db', transaction '155-4c', path 'trunk'
- adding path : trunk ...
It does not surprise me as "svnadmin load" is used to add to a repository not to replace it.
I remember there used to be a web interface to upload a dumpfile and *replace* the content.
Should I manually delete /svnroot/andsoft and use "svnadmin create"?
Thanks for your help
Andrea