Solved

rsync? download full website from ftp for backup

Posted on 2006-11-20
7
780 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

911 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

23 Experts available now in Live!

Get 1:1 Help Now