Solved

rsync? download full website from ftp for backup

Posted on 2006-11-20
7
781 Views
Last Modified: 2008-01-09
Hi,

Using redhat i would like to download/backup one of my sites to which I have only ftp access. I tried using wget -m ftp://user:pw@domain.com but that broke down. The www folder you see when logged in at the ftp seems to be a symlink, which cannot be mirror onto our local backup server.

People at another community pointed at rsync + rtfm. As I have no time nor the interest to do so, I ask you guys/girls, who probably know the commandline argument from heart anyway.
As far as I have understand rsync requires a ssh login, which I haven't got.

What do I need to feed rsync to download the full ftp and to convert symlinks on that ftp to plain files/directories structure, such that I can type one command and make a full backup of this website.

I only need to do this once, as the website will be put offline next week.

Kind regards

-r-
0
Comment
Question by:Roonaan
7 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 444 total points
ID: 17984310
rsync would be the better solution in the long term, but if you are restricted to FTP, then you could use FTPsync.

See http://sourceforge.net/projects/ftpsync/
0
 
LVL 10

Expert Comment

by:ssvl
ID: 17987732

The ftpfs also a good choice try this

http://ftpfs.sourceforge.net/
0
 
LVL 49

Author Comment

by:Roonaan
ID: 17987785
There is no linux build in tool to do this?

-r-
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 48

Expert Comment

by:Tintin
ID: 17989837
It would be very difficult to define what a "built in" Linux tool is as Linux distributions vary greatly in what software they include and it also depends on what type of installation you choose.

Short answer is no.

ftpsync is easy to install (as is most Linux software)
0
 
LVL 29

Expert Comment

by:TeRReF
ID: 18155619
What error did you get using wget?
0
 
LVL 49

Author Comment

by:Roonaan
ID: 18155630
No error, the files just weren't copied properly if I recall correctly.

I finally just used a windows ftp client.

-r-
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question