Web Analytics

Automatically Backup an Entire Web Site or Directory

Windows Vista Guides, Windows XP Guides Add comments

Welcome to www.mintywhite.com! If you're new here, you should subscribe to the RSS feed.

Take a tour of www.Mintywhite.com | Follow me on Twitter @mintywhite

Thanks for visiting!


You can backup a copy of an entire website and automate this process with a simple batch file (more on that later) and a piece of software named wget.

Wget will allow you to save a backup of every file of a Web site.

Setup wget

  • Download Wget here
  • Create a folder at C:\WebsiteBackup (or whatever and wherever you want to name it)
  • Extract the contents of Wget into the folder you created.

Set up the batch file

  • Open Notepad and type the following on the first line:
  • cd C:\WebsiteBackup
  • On the second line type:
  • wget -r -k -p http://www.SiteName.com
  • Save the file as WebsiteBackup.bat.

The file should look like this.


To run the file click on WebsiteBackup.bat. You should see the following screen - now wait as the website downloads.


You can automate this process if you right click on the file, create a shortcut, and put that shortcut into your “Startup” folder. Whenever you log into Vista/XP, a backup of a Web site will be made.

What Next?

Bookmark & Share

Get Daily Windows Guides & Freebies

Get Windows Guides Updates  RSS feed (don't know what RSS is?), or subscribe by e-mail

One Response to “Automatically Backup an Entire Web Site or Directory”

  1. Jocie Says:

    I have heard that this website is wonderful, there is some fresh and interesting information.


    Leave a Reply (Trackback URL) (Head Over to the Forums)