Unix administration - backing up a website

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > November 2007 > backing up a website





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author backing up a website
droid

2007-11-05, 1:28 pm

I'm trying to backup up my website using wget.

wget -mirror -w 3 -p -P $HOME/MyWebBak ftp://username:password@ftp.mydomain.com

This produces $HOME/MyWebBak/index.html very quickly - too quickly.

When I point my browser to $HOME/MyWebBak/index.html, it appears to be
a mirror immage of my website filesystem, but the files have no
content.

Is wget the tool I should be using for a modest ( <5GB) website?

If yes, what should my command line be?

If no, what OSS software should I turn to (using OpenSUSE 10.2, KDE)?

droid

2007-11-06, 7:46 am

On Nov 5, 11:19 am, droid <jshowal...@gmail.com> wrote:
> I'm trying to backup up my website using wget.
>
> [....]
>
> ... what should my command line be?
>
> [....]
>


I've been experimenting with different options, and the following
command line seems to give good results: "wget --mirror -w3 -pr --
output-file=wget.log --tries=5 --passive-ftp ftp://uname:passwd@ftp.mydomain.com"

Because of the 3 sec. delay before each file [right?] it is slow. It
takes nearly 2.5 hrs. to backup 27MB, but this is not unacceptable.
Or should I use "-w2"?

Anyway, do I have the correct options to give reliable backups of my
website? Are any unnecessary?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com