Backup an entire website using wget

You need to copy an entire website? Use wget like this:

wget -kr http://host.tld/

This will fetch all content (-r for recursive) and rewrite links inside the documents to make them suitable for local viewing (-k).

Thomas Eisenbarth Over 9 years ago