0

I want to create a mirror backup of subversion repository. For that I've followed the guide on using svnsync to create a mirror backup of subversion repository.

I've successfully created the mirror backup of subversion repository. However when I tried to automate the synchronization by modifying post-commit hook script it is showing

Warning: 'post-commit' hook failed with error output:

I did exactly the same way they displayed but I'm not able to find what went wrong.

I googled a lot on this topic everyone are saying permission issues, end of line issues but still I'm unable to automate the synchornization.


Can someone explain how to create mirror backup of subversion repository?

alroc
  • 27,574
  • 6
  • 51
  • 97
Gangadhar Jannu
  • 4,136
  • 6
  • 29
  • 49
  • What are the **exact** contents of `post-commit`? If you copied & pasted exactly from that linked blog, it's wrong - the final character should be an ampersand (`&`), not `&` - the writer's blog engine didn't properly handle the HTML entity. – alroc Feb 04 '15 at 16:05
  • yes I've changed it to '&'. – Gangadhar Jannu Feb 05 '15 at 05:22
  • Then `svnsync` probably isn't in the `path` of the user account executing `post-commit` (the user under which your server process runs). Specify the absolute path to the `svnsync` executable in the script. – alroc Feb 05 '15 at 13:58

0 Answers0