Lesson Learned : SVN and WordPress sucks
After trying for weeks to come up with a good system of passing data back and forth between a wordpress document root and the svn server, I finally scrapped it and just wrote something similar to what cpanel uses.
The main problem with it is simple.
WordPress is super cool, allows you update plugins and themes and such. Problem is when you do that update through the web gui, it also wipes that .svn directory in the wp-content/plugins/plugin_name directory. So even if you run a little pogramm to check it into SVN, it says your working copy is all blasted.
If you want my backup scripts, send me an email. Like cpanel, I now write daily/weekly/monthly backups. I added one layer though, for yesterday. There’s just something nice about having a yesterday directory (two days old because it syncs off the ‘daily’ which runs at midnight’)
Good luck.
