LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-31-2005, 04:27 AM   #1
jkassemi
Member
 
Registered: May 2004
Location: Albuquerque, NM
Distribution: slackware-current, slamd64-11
Posts: 106

Rep: Reputation: 15
File transfer options...


Hey everybody, thanks for taking a look at my post...

I've got two computers, my development computer and my server. I've got slack 10.1 on the development and slack 10.0 on the server... Here's my problem...

My development computer is a laptop, which sits nicely on the right hand side of my desk. The power cords hang to the right and connects to a surge protector beneath the laptop. My bed is on the right side of the laptop, and when my dog hops up and down during the night he risks knocking one of the cords and pulling down my computer from the desk. The room is small, and the arrangement just the way I want, but I don't want the computer that holds all of my work destroyed before I've backed it up to the server, which is in a much safer location.

I connect to the server using ssh for administrative functions, and upload files to it with gftp whenever I feel it's necessary. What I want to do is send the files to the server hourly... All the files are in a single directory, and it would be nice to do something like the following and place it in a crond script:

ftp -u me -p pass /DATA 192.168.0.2 /BACKUP

Now...

1) Is there a way of doing this that wouldn't be all that difficult? I'm fairly new with linux, so I don't think I'll be able to pull of something advanced all that quickly.
2) Would sftp have anything to do with it? I've been reading a little bit, and understand that it works very similar to ftp, but with the advantage of encryption. (my data doesn't really need any encryption...
3) What additional programs would I need?

Thanks for the help,

James Kassemi.

I've been looking into
 
Old 03-31-2005, 04:29 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Take a look at this LA:
http://www.linuxquestions.org/questi...ticle&artid=80
 
Old 03-31-2005, 04:32 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ftp shouldn't be a problem, but a more suitable solution, in terms of doing things the unix awy, would be to use rsync to ensure both locations are identical, with one being a primary location, rather than one just copying stuff to somewhere else. basically it's the same result, but a bit nicer conceptually.

http://everythinglinux.org/rsync/
http://www.mikerubel.org/computers/rsync_snapshots/
 
Old 03-31-2005, 04:52 AM   #4
jkassemi
Member
 
Registered: May 2004
Location: Albuquerque, NM
Distribution: slackware-current, slamd64-11
Posts: 106

Original Poster
Rep: Reputation: 15
Thanks alot. rsync is just what I was looking for. How do you guys know so much .

Take it easy,
James.
 
Old 03-31-2005, 05:47 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Ahhh should've known there'd be an LA for it....
 
  


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
File Transfer thereeper Linux - Software 2 05-17-2005 05:26 PM
file transfer from vm phfowol Debian 3 10-23-2004 12:39 AM
gAIM File Transfer Qwik Linux - Software 0 06-22-2003 09:02 PM
File transfer Joe47 Linux - Newbie 2 02-09-2003 04:12 AM
File transfer problem aldaeron Linux - Networking 3 08-05-2002 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:20 AM.

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