WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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):


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

share|improve this question

closed as off topic by Rarst Dec 22 '12 at 23:03

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

httrack should be able to crawl your site and get HTML copies for you but if something went wrong with the site putting things back together from that HTML version would be nearly as hard as just starting over. – s_ha_dum Dec 22 '12 at 19:23
This is essentially httrack question and not WP one. As per answers it's not suitable for backup and you'll get better results using dedicated WP backup solution or backing up files and database conventionally. – Rarst Dec 22 '12 at 23:03

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.

share|improve this answer

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.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.