rsync daemon or not - multiple folders
hi
I've red you could use rsync as a daemon. I use if to backup (synchronize) multiple windows (cygwin) pc to a linux server. I can run it on my pc's whitout having it running as a daemon on my server. So my question: why should a add a daemon to my server when apparentely, I don't need it? second question: I want to synchronize multiple folders on my laptop. I'me using the --excludes-from end --includes-from options, but I cannot set them up for synchrizing multiple folders (on one way I'm loosing some folders, on the other I'm getting too much folders...) is there another way for specfying wich folders have to be rsynced? I'm not really looking forward adding a "rsync ..." line for each folder I wnat to rsync. any help is welcome thanks |
Quote:
As for your second question, it's difficult to answer that without an example. What exactly is the problem? You specify the directories you want to copy/backup on the command line, --{include,exclude}-from list patterns of files/directories to be included/excluded. |
Not aware of 'another way' but the approach that works best for me is to --excludes-from an entire directory (entry ends with a / ) and then --includes-from a specific file from the excluded directory ( entry ends with file name [no /] ). Your decision point is do you just take a whole directory or exclude it to turn around and list 85-90% of the files you just excluded.
|
ioerror
Quote:
I don't need a daemon for doing that, simply launching an rsync on account logoff on the xp machines is enough. PDock Quote:
But maybe I didn't took into acount the leading '/' thing... I'll try again doing as you said Thanks 2 both of you. |
There is a nicely convenient tool called usbsync which has specially been desgined for the purpose of keeping a usb flash drive in sync with multiple Unix hosts.
Check it out at http://klingspor-thueringen.de/usbsync Cheers, welle |
All times are GMT -5. The time now is 06:43 AM. |