LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   File transfer options... (https://www.linuxquestions.org/questions/linux-networking-3/file-transfer-options-308141/)

jkassemi 03-31-2005 04:27 AM

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

david_ross 03-31-2005 04:29 AM

Take a look at this LA:
http://www.linuxquestions.org/questi...ticle&artid=80

acid_kewpie 03-31-2005 04:32 AM

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/

jkassemi 03-31-2005 04:52 AM

Thanks alot. rsync is just what I was looking for. How do you guys know so much ;).

Take it easy,
James.

acid_kewpie 03-31-2005 05:47 AM

Ahhh should've known there'd be an LA for it....


All times are GMT -5. The time now is 05:35 PM.