Sep
11
2017
0

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

(more…)