So this is kinda random, but I had to share my story.
Today I was working on one of the sites that I run (nothing serious, just for a small group), and I just needed to change a word in the menu that displays across all the pages in the site. I use a php include for it, so I pulled up Espresso, opened head.inc, made the change real quick, and hit save.
Then gaped at the results.
As it turned out, I had previously been doing all my editing on the remote file, not the local one, and the local file was about 4 years old. This time, however, I had opened that (old) local file, changed the word... and then uploaded it to the website, automatically overwriting the newer remote file.
Since the time that file was created, I had completely reworked the entire menu, moving to a horizontal drop-down system instead of a vertical static menu, and many of the actual links had changed within the menu as well. I now had a menu that was breaking the design of the site rather significantly, as well as containing several broken links, and it was live on the site!
Now, I have a Time Machine backup at home, but of course, since I hadn't been syncing all my changes, it would only have the backups of the old file, not the one that had been live on the site for about 2 years.
All is lost, right? I'm gonna have to recreate all my changes?
Nope.
I remembered having played around with the Wayback Machine some time ago, so I headed over to waybackmachine.org, pulled up the latest version they had of my site (from 2007, but it hasn't changed since then anyways, until today), hit "View Source", and copied and pasted my menu back from the code there. I then made the proper change (again), uploaded the file, and viola! Back in working order.
Just thought I'd share this little bit of success, since it made me feel good.
EDIT: Lesson learned, btw. I am currently downloading the live version of the site and will retain multiple backups of everything involved.
jW
Today I was working on one of the sites that I run (nothing serious, just for a small group), and I just needed to change a word in the menu that displays across all the pages in the site. I use a php include for it, so I pulled up Espresso, opened head.inc, made the change real quick, and hit save.
Then gaped at the results.
As it turned out, I had previously been doing all my editing on the remote file, not the local one, and the local file was about 4 years old. This time, however, I had opened that (old) local file, changed the word... and then uploaded it to the website, automatically overwriting the newer remote file.
Since the time that file was created, I had completely reworked the entire menu, moving to a horizontal drop-down system instead of a vertical static menu, and many of the actual links had changed within the menu as well. I now had a menu that was breaking the design of the site rather significantly, as well as containing several broken links, and it was live on the site!
Now, I have a Time Machine backup at home, but of course, since I hadn't been syncing all my changes, it would only have the backups of the old file, not the one that had been live on the site for about 2 years.
All is lost, right? I'm gonna have to recreate all my changes?
Nope.
I remembered having played around with the Wayback Machine some time ago, so I headed over to waybackmachine.org, pulled up the latest version they had of my site (from 2007, but it hasn't changed since then anyways, until today), hit "View Source", and copied and pasted my menu back from the code there. I then made the proper change (again), uploaded the file, and viola! Back in working order.
Just thought I'd share this little bit of success, since it made me feel good.
EDIT: Lesson learned, btw. I am currently downloading the live version of the site and will retain multiple backups of everything involved.
jW