Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
i have a cheap-arse employer who doesn't provide any data backup for us. so i've setup my own very simple server with ubuntu 10.04 (no raid).
from my linux desktop i want to backup to my file server.
from my file server i configured samba to allow me to access my data from the many Windows PCs in the place.
I also have a USB drive for when i go home or to another building.
most of my work happens on my linux desktop. so i use rsync to 'backup' from there to the file server.
can i use rsync to keep my usb drive also sync'ed? in the same command?
when i access files on my file server from a Windows PC via samba, and change something, will rsync pick up that change on the server, and migrate the changes back to my linux desktop?
I don't know if rsync does that level of synchronization (automatically synchronize on changes). Have a look at Unison, I use it in a production environment between multiple servers to synchronize configuration files and documents. Works like a charm and is pretty easy to set up.
And while unison is a better choice for this than rsync I
think you need to redevelop your strategy; you're a) causing
double the network traffic with your pull/push via workstation,
and b) you're making a workstation a single point of failure.
Having a service account on the server and pulling the data
from the server directly makes much more sense.
And while unison is a better choice for this than rsync I
think you need to redevelop your strategy; you're a) causing
double the network traffic with your pull/push via workstation,
and b) you're making a workstation a single point of failure.
Having a service account on the server and pulling the data
from the server directly makes much more sense.
Cheers,
Tink
I don't really trust the server hardware: it's just an old workstation PC with no redundancy (i.e. one HDD, no RAID). I figured that having my linux desktop synchronised with that server would at least provide some redundancy.
I'm not really sure what you're suggesting otherwise. Do you mean, just have the server work as the main storage? I'd still need to back it up somewhere (and that's why I have it synching back to my linux workstation).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.