rsync across many machines
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?
Hello and Welcome to LinuxQuestions,
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.
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).
I went with Unison if anyone's interested.
Still don't understand Tinkster's post.
|All times are GMT -5. The time now is 07:33 AM.|