LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-03-2006, 12:15 PM   #1
gomanza
LQ Newbie
 
Registered: Sep 2006
Posts: 9

Rep: Reputation: 0
ftp download other server complete tree + packaging


Hi guys,

I just installed a fedora core 5 server. One of its responsibilities is to make a backup form another server via ftp. So first i played a little with duplicity but I don't like so much.
The most things if found on the internet is about how to make a backup from my computer. But I want to download the whole tree (plus data :-)) from a foreign server (/) and then making eventually a zip or tar or another compressed file of this downloaded backup.
Could somebody gibe me a clue?
greetz Stephan
 
Old 10-03-2006, 12:20 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
FTP isn't good at recursive downloads, so
2 clues:

scp -r

or

rsync

--- rod.
 
Old 10-03-2006, 03:30 PM   #3
zkillz
LQ Newbie
 
Registered: Feb 2006
Location: CA, USA
Distribution: Fedora Core 6
Posts: 29

Rep: Reputation: 15
i guess its a server so this might not help but, gftp will copy folders recursively, i have done it to get lfs/blfs for ftp site and it worked fine, but if you are going without graphical interface i guess that useless.
 
Old 10-03-2006, 05:01 PM   #4
gomanza
LQ Newbie
 
Registered: Sep 2006
Posts: 9

Original Poster
Rep: Reputation: 0
server to server

Maybe my question was unclear I am on server A and I want to get ab backup from server B owith ftp through the internet on my server A. The best way should be a cronjob but which program can I use?
rsync is very complicated to me and I spent a lot of time to read about rsync but it is still confusing especially because if have only access to the files on Server B via ftp.
thx
 
Old 10-03-2006, 08:35 PM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
If you only have acces via ftp, then use ftp. Use a GUI version to provide recursive downloads. You will have to look out for circular references, and the likes of that. You will create a LOT more traffic than you need to. You will have a poor record of what you have done. You will be exposing your server and client to a fairly insecure protocol. Are you sure you ONLY have ftp access? Almost anything else would be a better alternative for making backups.

--- rod.
 
Old 10-04-2006, 03:21 AM   #6
gomanza
LQ Newbie
 
Registered: Sep 2006
Posts: 9

Original Poster
Rep: Reputation: 0
yes only ftp

Yes I checked this. Only ftp, because they are a little paranoid. Ok I'll try it with ftp. Is it possible to do this with a php or .sh script for using with an cronjob? Because I think i cannot use cronjob with gui ftp programms.
Any clues links or help?
thx so it is late have to go to bed cu
 
Old 10-05-2006, 01:34 PM   #7
gomanza
LQ Newbie
 
Registered: Sep 2006
Posts: 9

Original Poster
Rep: Reputation: 0
bacula

Has anybody heard from Bacula? Its a gui interface for automated backups. But does anybody know howto generate the sourcefiles for fedoracore? I am new with this.

http://www.bacula.org/dev-manual/Bac...Packaging.html
http://www.linux-magazin.de/Artikel/...la/bacula.html
http://sourceforge.net/project/showf...kage_id=188830
 
Old 10-06-2006, 01:53 PM   #8
zkillz
LQ Newbie
 
Registered: Feb 2006
Location: CA, USA
Distribution: Fedora Core 6
Posts: 29

Rep: Reputation: 15
Quote:
Originally Posted by gomanza
...Its a gui interface...
gFTP is a gui interface for FTP downloads, It downloads folders recursively recursively, and it comes with fedora core.

Im not advocate for them or something, I just used it a couple of times and it worked, so IF your looking for a gui ftp downloader on fedora core, you might aswell use that...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can i download from an ftp server direct to my c600 notebk without burning to cd? newmike Debian 9 07-28-2006 08:34 AM
How to download Hole directrory from FTP Server sumathi Linux - Networking 10 03-03-2006 12:27 AM
Problems emerging " /etc/make.profile symlink?" Portage tree complete? stl222 Linux - Software 2 02-11-2006 11:38 PM
I want to download ftp-site files via wget and socks5 proxy server. jiawj Red Hat 2 10-28-2004 04:32 PM
SuSE 8.1 ftp complete directory tree size? cav Linux - General 2 04-01-2003 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration