LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mirror a remote svn (https://www.linuxquestions.org/questions/slackware-14/mirror-a-remote-svn-522329/)

happybear 01-24-2007 06:45 AM

mirror a remote svn
 
anyone got an idea on how to easily create a mirror of a remote svn server?
i'm afraid that the svn version is old (the remote svn), and as far as
i know only version 1.4 has svnsync command,
i tried searching the net and found some scripts (shell and perl)
but i couldn't run those successfully. and im not sure if i could use rsync,
i'm using slackware11 full install but no kde,
by the way i found a perl module (SVN::Mirror) but i couldn't install it,
i tried installing it via perl's CPAN module but it has a problem,
i guess a required module is not available, it was SVN::core and SVN::Simple::Edit,
i don't know where to find those,
if anyone has done this before please help me, thanks everyone...

unSpawn 01-25-2007 07:00 PM

i tried searching the net and found some scripts (shell and perl) but i couldn't run those successfully. and im not sure if i could use rsync,
While you didn't do this intentionally, talking about errors will not help. Posting (exact) errors may. If you don't / wan't / can't maybe try SVN::Mirror from a "perl -MCPAN -e shell"?

dosnlinux 01-31-2007 07:46 PM

svnadmin hotcopy $path_to_repo $new_location

or

svnadmin dump $path_to_repo > $somefile.dump

I'm not sure if you need write permission to use these though.


All times are GMT -5. The time now is 02:15 AM.