Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th August 2006, 04:26 AM
schwim's Avatar
schwim Offline
Registered User
 
Join Date: Dec 2005
Location: In your closet
Age: 39
Posts: 2,287
what is the best method for file transfer between two servers?

Hi there guys,

I've got two servers. The old one has a site(about 2 gigs worth) of files, and I want to zip it up, and move it to the new server. I have a couple of questions:

The new server runs FC4. I've gotten applications by the commandline before on my local computer. If I zip up the files on the old server, is there a command I can use on the new one to move the zip file over without having to download/upload(kind of like fxp, I guess)? 2 gig is a crapload to transfer.

Also, is that size zip going to give me problems? Do I need to do it in stages?

Finally, what would be the command I would use to zip all of the contents of a directory I'm sitting in, keeping the dir structure? As an example, I don't want to zip up httpdocs, because then I'll get everything put into a subdirectory called httpdocs. How do I zip up all of the contents of httpdocs while not getting that folder as the parent folder?

Any suggestions on the best way to do this would be muy appreciated.

thanks,
json
__________________
I read the f'ing manual, and it told me to ask you guys...

performing amazing acts of mediocrity since 1974.
-------------------------------------------------------------------
FC 7(32 bit)/Gnome
AMD Athlon 64 3400+
Nvidia 6800 GT
1 Gig ram
Reply With Quote
  #2  
Old 25th August 2006, 07:37 PM
schwim's Avatar
schwim Offline
Registered User
 
Join Date: Dec 2005
Location: In your closet
Age: 39
Posts: 2,287
what, no love for me? Where's the love, man?

thanks,
json
__________________
I read the f'ing manual, and it told me to ask you guys...

performing amazing acts of mediocrity since 1974.
-------------------------------------------------------------------
FC 7(32 bit)/Gnome
AMD Athlon 64 3400+
Nvidia 6800 GT
1 Gig ram
Reply With Quote
  #3  
Old 25th August 2006, 08:06 PM
BandC's Avatar
BandC Offline
Registered User
 
Join Date: Nov 2004
Posts: 1,105
To copy: man scp

I use scp to copy stuff between machines.

To zip: man tar
__________________
IMHO GNOME FTW! BTW KDE WAD? FWIW. HTH. AFAIK YMMV. OMG WTF BBQ! :rolleyes:

Do you like surfing forums but wish people would stop using obscure abbreviations and acronyms?
Then my Firefox/Chrome extension ABBREX is for you!
It automatically adds hover tooltips to abbreviations displaying their meanings on any web page you visit!

Check it out at: http://abbrex.com
Reply With Quote
  #4  
Old 25th August 2006, 08:12 PM
mr_manny Offline
Registered User
 
Join Date: Aug 2004
Location: SF
Age: 47
Posts: 14
I would also look into rsync for your transferring data...especially if your going to do this on a regular basis.

do a search (recent topic).
Reply With Quote
  #5  
Old 25th August 2006, 08:44 PM
schwim's Avatar
schwim Offline
Registered User
 
Join Date: Dec 2005
Location: In your closet
Age: 39
Posts: 2,287
thanks for the suggestions guys, I'll look into it as soon as I get home.

I feel the love again... I was getting worried there for a minute.

thanks,
json
__________________
I read the f'ing manual, and it told me to ask you guys...

performing amazing acts of mediocrity since 1974.
-------------------------------------------------------------------
FC 7(32 bit)/Gnome
AMD Athlon 64 3400+
Nvidia 6800 GT
1 Gig ram
Reply With Quote
  #6  
Old 25th August 2006, 09:00 PM
pparks1's Avatar
pparks1 Offline
Registered User
 
Join Date: Mar 2004
Location: Westland, Michigan
Age: 38
Posts: 2,317
rsync is the tool that you want for this. man rsync : you will be glad you did
__________________
RHCE and MCSE systems administrator
Registered Linux User #375155 For More Info or to register yourself

My Linux box is:
Ubuntu 8.04, Antec Sonata II case with 450-watt PS, AMD 64 X2 4600+ (65 watt), 4GB DDR2 800 RAM, 18X Lite-On DVD burner, Asus M2NPV-VM, Nvidia GeForce 7600GT (256MB), 320GB Western Digital SATA 3.0Gbps, Logitech MX-310, Dell 18" ultrasharp LCD, Microsoft Natural Ergonomic Keyboard 4000 and 2.1 Boston Acoustics sound system..
Reply With Quote
  #7  
Old 25th August 2006, 09:06 PM
uth Offline
Registered User
 
Join Date: Jun 2006
Posts: 117
If it's only a one time transfer, don't bother with rsync, it won't buy you anything, but if you will be transfering the same files frequently and want to keep them in sync, rsync is great for that.
Reply With Quote
  #8  
Old 24th September 2006, 09:15 AM
mohdfarah Offline
Registered User
 
Join Date: Apr 2006
Location: sudan
Posts: 28
i want to make backup daily with rsync and i want to automate it ,i mean to use rsync without password
Reply With Quote
Reply

Tags
file, method, servers, transfer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which install file/method do I need? MickC Installation and Live Media 1 15th April 2009 10:15 PM
Remote Servers down - need transfer help SlowJet Servers & Networking 0 22nd March 2005 08:10 PM


Current GMT-time: 20:15 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat