Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.