Details on the WordPress server ;)

Some details on my quaint little FreeNAS box. It has had a relatively simple life providing files over CIFS and NFS, but now it’s time to put her to work and see how far I can stretch it out! This wordpress site is running off of a jail if you haven’t noticed ;). My ZFS kit is a stripe (gasp!) and has no redundancy (yet) but for my purposes before hosting any public facing stuff, that stripe was all that I could need.

  • FreeNAS 9.3
  • AMD Sempron(tm) 3850 APU with Radeon(tm) R3
  • 8GB RAM

Hosting: 3 jails/4 Virtual Systems Total

  • transmission (jail)
  • virtualbox (jail) hosting 1 VM for GitLab (Ubuntu)
  • WordPress (jail)

More Backup Scripts (This time for wordpress)

I was able to complete my backup scripts for the WordPress site lickity split. I also found that grive in ports is broken and should be deprecated since the Google API it uses has been defunct since 2012. I had to download and compile grive2 from the interwebs (a quick search will yield success).

Here is a link to the wordpress backup script: WordPress Backup

And a link to the BSD version of the Google Drive backup script: GoogleDrive Backup Script (BSD). The BSD version points to /usr/local/bin/bash instead of /bin/bash, but that could likely be soft linked.

FYI, I pass the TARGETDIR in through the script’s args but here is an example of how my crontab looks like on the WordPress server:

0 0 * * * /home/brodey/src/Scripts/backupWordPressh.sh
30 0 * * * /home/brodey/src/Scripts/backupBSDFilesToGoogleDocs.sh /FreeNAS/WordPress

Yes, I’ll eventually have a “common place” for all of my scripts to run and better maintainability  but this is a “get something in place now” type of deal.

First things that I’m working on

Looks like I may be looking at a possible drive failure or, “normal” wear-in on one of my brand new hard drives (A 4TB Hitachi). I received a lovely error message from FreeNAS indicating that my drive error count increased from 0 to 1, so I shall be monitoring that count to see if it’s rate of increase changes.

In the mean time, and after taking manual backups of data. I decided to get some backup scripts in place so that I don’t have to continuously monitor the situation. I developed a simple script with a touch of ‘hard coding’ to get the job done for now, using a couple posts about grive and BASH.  Grive is awesome, grive -f is also equally awesome when forcing a “download” or “pull” from your Google Drive.

Here is a link to my backup script: Backup Script

New Website For Tracking Personal Projects and Getting All of “that” Info Back Out To The Land Of The Internet

New Page!!!!


 

Hello All,

Welcome to my website where I will start tracking any of my personal projects on the go. I tried doing this earlier but could not devote sufficient resources to keep the site up and running, keep useful content out in the open and generally didn’t have the nudge I was looking for.

I’ve been recently relieved of my duties at the company I worked 3.5 years for because of a company acquisition deal. I shall take this opportunity though, to renew my roots and re-focus my own personal goals may they be personal goals or career goals.

“Sometimes you need to take a step backward before you can take two steps forward” – Dr. Bose

Thank you!

Brodey Dover