Are you looking to backup your WordPress installation to a remote host via FTPS? This script may help. I recently got a bit of storage that can most easily be accessed via FTPS. Normally I’d just use RSYNC, but unfortunately it does not have any FTPS (FTP over SSL) support. After a bit of googling, I found little in the way of bash scripts to do a full WordPress and MySQL backup AND upload to a FTPS server. So I figured this would be a great opportunity to create a simple little script to do this. This script will make a tarball of the WordPress directory, execute a MySQL dump of a database, tarball that, put both of them on a remote FTPS server, and email you if any step fails. Script is below the jump.
As promised, here’s the link to my presentation at the 2012 Rock Eagle Computing Conference: Leveraging Active Directory Group Policy to Patch Common Windows Applications
If you have any questions, please don’t hesitate to post a comment on this page.
One person had asked about doing reporting via GPO. I’m not sure of what (if any) native AD support there is for doing inventory reporting. We ended up using OCS Inventory to track machines, and deployed the agent via GPO.
In the last few years, the Java developers changed how updates to the Java Runtime Environment (JRE) are installed. Their installer first uninstalls any old version of Java on your computer, and then installs the latest version. This is a good practice, as it keeps outdated versions of JRE from making your system vulnerable to malware and known exploits. But what happens when it fails?