pictures

jappler recommends: cpsafe.

hr
hr Heading 2 Icon jappler recommends: cpsafe.

Start the year of right - set up a backup system! A few years ago, I documented how to backup your web sites, databases, email, etc when your host uses CPanel to a remote FTP server. Since then, there have been several CPanel updates and Perl updates that the script no longer works so I have been looking for another option and finally found it. The new script is called: CPsafe (if that does not work, check out the cached version. Within 5 minutes, you can have your home directory backup set up and ready to run. I think the hardest part of this process was figuring out where to turn on FTP access in my Mac OS X 10.5 new install. (System Prefs > Sharing > File Sharing > Options > FTP)

mysql database corruption.

hr
hr Heading 2 Icon mysql database corruption.

What got me up early Saturday and then up at 1am on Sunday? Server hardware failure…which led to some database corruption. I have never had to deal with database corruption, so I did not even know my problem was database corruption until after calling the helpful tech guys at Liquid Web. (I am not one to usually call tech support, but at 136am on a Sunday…I did not feel like spending time at mysql.com or google.com.)

I first noticed something on Saturday morning, but after restoring a database table from a backup, everything was golden. I told myself…it had to have been from some user error. Monday morning, after my Nagios server paged me, I noticed that jappler.com had several mysql fetch_row () errors after the server came back up. I decided that this problem was not user error and something else was going on. As soon as I told the tech guy the error that I was seeing onjappler.com and other web sites I manage, he asked me if I had tried “repairing” the databases. I had not even thought about it (especially … [more]

automate cpanel backup.

hr
hr Heading 2 Icon automate cpanel backup.

For months I have been manually backing up my web sites. Last night, I learned my lesson and realized I needed to have something more dependable in place. (and I am pretty damn dependable). I finally took the time to research the process of automating a CPanel update.
The script I found and used is freely available and easy to use.

How to completely automate your CPanel backup and store the files remotely:

There are three main parts to this process:

The backup script.

Download the script.
Edit the script’s configuration variables as needed (see instructions on the download script page (see above).
Set up a cron job via CPanel (cron jobs is one of the main icons in the list) so your script will run every x minutes/hours/days/weeks/months.

The files you want backed up on your host. The script will have CPanel perform a full backup of all your files and databases. (The same if you were to choose “full backup” within the Backup module of CPanel.)
The location where your files go when they are automatically backed up.

Define the server/computer you want your files to get backed up to. If you are like … [more]


search

subscription information

Blog RSS

Comments RSS



Powered by FeedBlitz

blog categories

blog tags

most popular posts

  1. jappler recommends: room & board (store).
  2. using parallels and windows for web development debugging.
  3. another good first tuesday in november.
  4. remove all .svn directories in a directory.
  5. wordpress newsletter plugin.
  6. Add a "Pseudo" Pseudo Class Hover in Inline CSS.
  7. php live training.
  8. so long, farewell ben!
  9. css containers: one image, fixed width, rounded corners.
  10. feel better soon joe paterno.

blog archive

standards

Get Firefox!
XHTML
CSS