LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-10-2006, 04:23 AM   #1
yull
Member
 
Registered: Dec 2004
Location: Belgium
Distribution: debian
Posts: 48

Rep: Reputation: 15
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
 
Old 05-10-2006, 06:34 AM   #2
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 30
Quote:
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?
I'm not quite sure what you mean by this? If you rsync between two boxes, then obviously you need an rsync process running on each box. If you don't want an rsync daemon running constantly, you can either run it under inetd, or run it via ssh when you initiate the backup.

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.
 
Old 05-10-2006, 06:48 AM   #3
PDock
Member
 
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 36
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.
 
Old 05-10-2006, 08:27 AM   #4
yull
Member
 
Registered: Dec 2004
Location: Belgium
Distribution: debian
Posts: 48

Original Poster
Rep: Reputation: 15
ioerror
Quote:
I'm not quite sure what you mean by this? If you rsync between two boxes, then obviously you need an rsync process running on each box.
Well I thought using rsync only on the windows pc to backup their sensible data to a linux server.
I don't need a daemon for doing that, simply launching an rsync on account logoff on the xp machines is enough.



PDock

Quote:
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 /] ).
Well the include/exclued stuff is what I was trying, but without really success.
But maybe I didn't took into acount the leading '/' thing...
I'll try again doing as you said

Thanks 2 both of you.
 
Old 02-24-2009, 06:09 AM   #5
welle
LQ Newbie
 
Registered: Jan 2005
Location: Germany
Distribution: SuSE Linux 9.2
Posts: 3

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying files from multiple folders into one aardwolf64 Linux - General 4 01-03-2006 12:53 AM
TH8/Sendmail Question: Multiple folders ertzsi Red Hat 3 10-22-2005 07:40 PM
rsync daemon hverne Red Hat 6 06-04-2005 09:37 PM
rsync daemon hverne Fedora 1 05-27-2005 08:58 AM
using rsync - one of the folders in path has spaces??? jgruss Linux - Networking 10 07-07-2004 08:27 PM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration