wildcard and subdirectories with rsync

Justin R. Pessa justin at brontes3d.com
Fri Jan 13 16:44:43 GMT 2006


I've got the following directory structure on my server

/samba/users/joe
/samba/users/jane
/samba/users/bob
...

etc.

Within each user's directory there is a backup directory where files 
that the user wants backed up should be copied in to.

I'd like to sync each user's directory from the server to my backup 
server. Essentually /backups/*/backups. On the backup server I'd like to 
have:

/backups/joe
/backups/jane
/backups/bob

What I'm not certain about is first, if this can be done with rsync and 
secondly if it can, how would that look in rsyncd.conf under path=? I'd 
like to share the directory as "backups" and be able to do an rsync -ra 
server::backups and have it pull the users folder and their backup 
directory.

I'd tried tinkering with the Path = in rsyncd.conf as well as using some 
wildcards when calling rsync from the server side, to no avail.

Eeek!

-- 

Justin R. Pessa - BOFH

Brontes Technologies
400 West Cummings Park Suite 2600
Woburn, MA  01801

tel: (781) 756-1700 x248
www: http://www.brontes3d.com
irc: irc.freenode.net | asdf_ on ##freebsd


More information about the rsync mailing list