I had a bit of a scare with a malformed database last night which got me to getting onto making sure I have so many redundant backups of my site that I am covered in the event of the server dying, my home backup server dying, etc. 🙂 That said, I am trying to use httrack
to download the entire site, but I run into a case where it ONLY gets the root site (for example):
test.mylovelysite.com
But I need it to crawl:
test.mylovelysite.com/page/2/
etc., etc., etc.
I can go and tell it to download each page manually, but what I’m trying to do is:
- Capture all the site content locally:
- Pictures
- Comments
- Videos
I can open the downloaded files in Chrome and the only local page is the root page right now. Any link just points me back to the actual site itself I am trying to backup.
I’ve tried the export function within WordPress, but I’m not looking for an XML file, I’m looking for an entire local backup of the site. I have SFTP ac
Try to use WordPress backup plugins like XCloner or Duplicator, both will backup the entire site files along with the database with easy restore or copy of your site on a different server or on local machine.
HTtrack will only download the HTML source of your page. If your online site goes down, the HTtrack version will not be appropriate to replace your site with. If you want your local backup to be powered by WordPress, and not just a static site, then you need to download your site using SFTP, and then export your database tables using phpMyAdmin.
If you want to view your site locally, you can setup XAMPP or something similar and copy your files and import your database back. Tom Ewer has written a good tutorial for setting up XAMPP on Windows.