Make copy of website for developement

Hi Guru's

Trying to make a copy of my website( I have very limited access ie: no shell access.) to a local ubuntu server with full access.

What is the best way to make a copy of my site. I have ftp cli, lftp, wget ... just not sure what to use and how. Want to be able to do a recursive download of directories & files under www directory. No need for the other stuff.

Dj

What kind of access do you have? FTP/SFTP/SCP or just plain HTTP? What's the directory structure? Any dynamic pages (PHP, Perl, Python, ...)? Is there any database or similar which should be included?

It's basically a Drupal site that I want to copy to do some playing around with - I have ftp access to website. I have already copied the mysql Database. So I basic would like to do a recursive copy of everything below /www.

On my local ubuntu server have complete access and have a WAMP server type setup.

Dj

PS. I know hoe to ftp one folder at a time would would like to be able to do all of them at once.

The easiest thing is to make a tarball and ftp that from your server so something like

tar cvzf mywebsite.tgz ./www

will do the deed, then ftp off that mywebsite.tgz file.

If you should ever need to perform a restore, put the mywebsite.tgz back exactly where you found it and do

tar xvzf mywebsite.tgz

Regards
Neil

Something like this should work:

wget -c -m --user=<user> --password=<pass> ftp://<host>/www

This should (if needed continue to) download a mirror of the page using the specified user and password.

For more details, refer to the man page of man wget (Linux)

nbriscoeuk: unfortunately I don't have shell access to create a compressed tar file.

pludi: wget worked perfectly - thanks :b:

Dj

---------- Post updated at 07:56 PM ---------- Previous update was at 06:06 PM ----------

pludi: wget does stop after awhile and doesn't get all files...

Dj

What is missing, and are there any messages that seem like errors?