NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
nexus2
Apr 05, 2009Follower
Subversion ( SVN ) Add-on
Hello, Super-Poussin removed the SVN add-on and I was hoping someone (or Super-Poussin) could please update it and bring it back. What was outdated with the old one anyway? I ask because I really do...
jcouvret
Nov 04, 2009Aspirant
Thanks for the help. What fixed it was putting the complete paths to svnlook, svnadmin, and rsync in the svn-fast-backup script.
For those that might be searching how to backup subversion repositories on a ReadyNAS, here is what I did. This probably isn't the best way to backup subversion and it only works on FSFS repositories, but it does work for me.
1. Get the svn-fast-backup script from here, http://svn.collab.net/repos/svn/trunk/contrib/server-side/svn-fast-backup
2. Modify the script to include full paths to svnlook, svnadmin, and rsync
3. Put the svn-fast-backup on your NAS. I put it at /c/share/svn-backup/svn-fast-backup
4. Set permissions. I am a newbie, so these permissions are most certainly overkill. All you probably need is the a+x:
5. Add the following line to /etc/crontab, modifying for your repository and backup schedule
For those that might be searching how to backup subversion repositories on a ReadyNAS, here is what I did. This probably isn't the best way to backup subversion and it only works on FSFS repositories, but it does work for me.
1. Get the svn-fast-backup script from here, http://svn.collab.net/repos/svn/trunk/contrib/server-side/svn-fast-backup
2. Modify the script to include full paths to svnlook, svnadmin, and rsync
svnlook = "/opt/rfw/bin/svnlook" # Path to svnlook
svnadmin = "/opt/rfw/bin/svnadmin" # Path to svnadmin
rsync = "/usr/bin/rsync" # Path to rsync
3. Put the svn-fast-backup on your NAS. I put it at /c/share/svn-backup/svn-fast-backup
4. Set permissions. I am a newbie, so these permissions are most certainly overkill. All you probably need is the a+x:
chmod a+x /c/share/svn-backup/svn-fast-backup
chmod 755 /c/share/svn-backup/svn-fast-backup
chmod -R 755 /bin
5. Add the following line to /etc/crontab, modifying for your repository and backup schedule
30 2 * * * root /c/share/svn-backup/svn-fast-backup /opt/subversion/YourRepository /c/share/svn-backup/YourRepository >> /c/share/svn-backup/svn-fast-backup.log
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!