Today I ran into an issue where a bunch of website files were deleted off the server, and I was called upon to restore the old files. After first pursuing other options (e.g. backups), I landed on Wayback Machine as the next best choice. Thankfully, there’s a handy command line tool for downloading any site on Wayback Machine – it’s called Wayback Machine Downloader and is available for free via Github.
Steps:
- Install the gem via the command line.
- Run a command such as:
wayback_machine_downloader http://example.com
That’s it!
If you’d like to download a specific date’s backup, then use a line such as:
wayback_machine_downloader http://example.com -t 20200513200704
where “20200513200704” is the slug in the url from the Wayback Machine page. For example, for a url such as “https://web.archive.org/web/20200513200704/https://www.example.com/” copy-and-paste “20200513200704”.
More posts from themightymo.com
How to Convert .aiff to .mp3 files via Command Line
Yesterday I ran into an issue where I needed to convert .aiff files to .mp3. DBPowerAmp was recommended to me as a paid GUI tool. But I wanted something more lightweight, since this is a task I rarely need to do (most of the time, I’m already in Logic Pro, and exporting is simple there).…
Google Removed Our Business Listing – How we restored our biz to the Map and got our reviews back.
I was about to send an email to a potential customer pointing them to our 5-star Google Reviews via our Google Business profile (e.g. the Google Map), hoping this added information about our customers’ past experiences might help me close a deal. But when I checked the Google Reviews link, it was down. And after…
The Price We Pay: Cloudways Off-Site Backup vs. Budget WordPress Hosts
Cloudways Off-Site Backup Pricing Calculator: The Ultimate Cost Guide