As part of setting up my new Linode host, I needed a quick, easy, and maintanable way to create backups of my LAMP webapps. Follow the jump to see how I set up my backup strategy.
DISCLAIMER: I make no guarantees to the effectiveness of this script. It works for me, and it should work for you, but it is up to you to test it! Also note, you need to have SSH access and root privileges to your server.