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
Help! I have been trying to configure automated backup of my subversion repository for a couple weeks now. After some searching around, I decided that the svn-fast-backup script (http://svn.collab.net/repos/svn/trunk/contrib/server-side/svn-fast-backup) would work well for me with a FSFS subversion repository. However, I am just not smart enough to automate it.
I have done the following:
Put the svn-fast-backup script in /bin
chmod a+x on svn-fast-backup
chmod -R 755 /bin
I have tried the following:
add a call to svn-fast-backup to the post-commit hook of the subversion repository.
add a script calling svn-fast-backup to the cron.daily directory
add the following line to /etc/crontab
The crontab line does result in a backup.log file, but it is empty. I can't get anything to work. I am not experienced with linux and I know that this should be a simple cron job. I am really hoping some nice, helpful person could step through what I need to do to get a python script like svn-fast-backup to work as a cron job. I'm sure I'm missing something simple, but I can't figure it out.
And yes, I have installed python via apt and the following command works just fine when run manually:
I have done the following:
Put the svn-fast-backup script in /bin
chmod a+x on svn-fast-backup
chmod -R 755 /bin
I have tried the following:
add a call to svn-fast-backup to the post-commit hook of the subversion repository.
add a script calling svn-fast-backup to the cron.daily directory
add the following line to /etc/crontab
30 20 * * * root /bin/svn-fast-backup /opt/subversion/repo/ /c/share/svn-backup/repo/ >> /c/share/svn-backup/backup.log
The crontab line does result in a backup.log file, but it is empty. I can't get anything to work. I am not experienced with linux and I know that this should be a simple cron job. I am really hoping some nice, helpful person could step through what I need to do to get a python script like svn-fast-backup to work as a cron job. I'm sure I'm missing something simple, but I can't figure it out.
And yes, I have installed python via apt and the following command works just fine when run manually:
/bin/svn-fast-backup /opt/subversion/repo/ /c/share/svn-backup/repo/ >> /c/share/svn-backup/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!