Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

rsync? download full website from ftp for backup

Posted on 2006-11-20
7
Medium Priority
?
802 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 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/
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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

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…
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 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.:
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…
Suggested Courses
Course of the Month9 days, 18 hours left to enroll

927 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