I love analytics. Two days ago on Friday night or Saturday morning, I made a gzipped tarball clone of my blog’s entire directory on my server. I cloned everything, the WordPress files, my themes, my images, uploads – everything. I also cloned the database with
mysqldump. I unarchived the tarball and restored the dump into my local development server. Great, so far, right?
I did the typical
define("RELOCATE", true); in the wp-config.php file, along with the proper mysql credentials. Everything appeared to work when I logged into the admin panel on the local development server. I changed the site address because RELOCATE had already set the WordPress address to the proper URL: 192.168.0.5/blog-ryanrampersad/.
Everything worked. Everything was great.
Then; I thought it would make sense to turn off Jetpack, WP-DB-Backup, Google Analytics and WP Super Cache because those only need to run on a live server running the live blog. Right? How do I turn them off? I go into
Plugins > Installed Plugins, checked the plugins I didn’t need anymore and simply deleted them the local development server.
I then proceeded to code up a new theme and do some tinkering, all safely and securely without messing with my live production blog. Or so I thought.
I logged into my admin panel today here, on my live production blog and look at what I discovered!
The dashboard stats widget stated that I only two days of data. Well, maybe that was a fluke? So I check the full summary.
Even the monthly charts are wiped.
Okay, so great. It was a JetPack problem? So I go over to the JetPack section on WordPress stats and there’s no information there, in their feature card. On the bottom of the JetPack page, there’s a support link.
The JetPack support page has some common issues listed, but none of them were my issue of missing data. On the bottom, there’s a Contact Support link. That sounds promising. But clicking on it gets you a bunch of additional support avenues, none of which have anything to do with JetPack and WordPress.com Stats.
There wasn’t a final place with a real contact link.
Now, honestly, if I can’t get my data back, it is okay. It’s okay. I have Google Analytics and they are intact. Whatever caused this was my fault and if I can’t get my data back, I know now to do it a different way. WordPress is awesome and it’s great they bundle all those great plugins inside JetPack. WordPress.com Stats is fantastic too, it keeps tracks of less data than Google Analytics, but it presents it on the blog in the admin panel in a beautiful way.
Are there any solutions I should be looking for? Anything else? I’m not terribly desperate, but I felt this problem merited a good rant.