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.
Hello, I have several computers in my house, all running Suse Linux 10. I have a central computer set up as a server, what I would like to do is set it up to where when you logout using KDE it will RSYNC the home directory of that user to the server, and then when you log back in. It will RSYNC the user's home directory back to that computer from that server. This way all computers maintain a current copy of that home directory. If this is not possible, then I would like it to simply rsync the entire /home directory to the server when the system shuts down. Then when it boots back up just rsync the /home directory from the server to the system. How would I go about doing this?
You could put the rsync command in your ~/.bash_logout script.
I think it would be easier to put all of the files on one server computer and use Samba to mount the directory from the server to the computer that you log onto. Trying to put some command that could take a long time or even hang could cause you to have to power cycle your computer to get it into a usable state.
I was worried about the hanging issue. A while back I did try mounting the /home directory from one computer to another using NFS to see how it would work. It worked decently, there was some lagging issues. I will look into that more though.
I had always considered samba as more of a windows to linux style of networking, and that NFS was more native to linux and better for linux to linux networking. This is very good to know.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.