Automate WordPress backup with Python / Fabric
Python’s Fabric module makes automation easy. This post shows how to use a Fabric script to backup a WordPress installation, but could be used for most LAMP backup situations!
Goals of this Post:
- backup SQL to /tmp
- backup WEB ROOT to /tmp
- tar SQL + site & zip
- download
- delete /tmp