Solved

rsync? download full website from ftp for backup

Posted on 2006-11-20
7
778 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now