rsync? download full website from ftp for backup

Posted on 2006-11-20
Medium Priority
Last Modified: 2008-01-09

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

Question by:Roonaan
LVL 48

Accepted Solution

Tintin earned 1332 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/
LVL 10

Expert Comment

ID: 17987732

The ftpfs also a good choice try this

LVL 49

Author Comment

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

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

LVL 48

Expert Comment

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)
LVL 29

Expert Comment

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

Author Comment

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

I finally just used a windows ftp client.


Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Can you run Linux on a Windows system?  Yep.  Here's how.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

624 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