Automatic WordPress Backups from DigitalOcean Droplet to Local Machine

This post explains how to implement automatic WordPress backups from a DigitalOcean droplet to your machine of choice using SSH/SFTP.

In this post I want to detail my way of implementing automatic WordPress Backups on a site hosted on a DigitalOcean VPS. I am looking for advice on how to improve this setup from efficiency and security standpoints.

Requirements:

  • DigitalOcean droplet running LEMP/LAMP stack (web server) and a WordPress site
  • SSH Key Authorization between server and backup storage machine
Continue reading “Automatic WordPress Backups from DigitalOcean Droplet to Local Machine”

Using Windows PowerShell to Compute File Hash (Bonus: automatically compare it to a given value)

Learn to use Windows PowerShell to calculate hash checksum values, and automatically compare the output to a given value!

Being interested in security, you can’t help but hear about “hashing” and “file integrity”. I was aware that you can download third party software to calculate file hashes using different algorithms such as SHA256 and MD5, but I wasn’t aware you can do it in Windows PowerShell.

The coolest thing is how simple it is. Keep reading to learn how we do it!

Continue reading “Using Windows PowerShell to Compute File Hash (Bonus: automatically compare it to a given value)”