Archiving the Web

This is the kind of archival project that few people think about, but that will also become incredibly important over the coming years. I’ll admit that preserving the real URLs behind all those shortening services wasn’t something I’d ever really considered. It also makes me wonder about strategies for preserving database-driven websites (like this one, for example). How does an external entity manage to save both the database and the PHP files that make it function? It’s not like saving static HTML pages, although I guess saving sites as generated in that format might be the only option at this point.