|
Hi all,
I'm trying to backup my critical files with rsync over ssh. Everything is working well with the exception, of course, of the file selection function. I've tried just about everything and am now banging my head against my desk (hence the uncomfortable dizziness, so excuse my typos.)
rsync should backup only specific folders in /home/me/business/ so, in order to include folders explicitly, I've put this in my exclude-from file:
+ business/webdeb + business/webdeb/ + business/webdeb/** - business/webdeb* - *
This works fine, but now I want to exclude this particular directory: /home/me/business/webdeb/clients/acme/lotsojunk. Here's where rsync becomes too much of a sadistic puzzle. I've tried every combination of exclude patterns to allow everything BUT this folder to be included- to no avail, rysnc simply ignores the rules. So I need expert advice on how to do this.
I would greatly appreciate if you could provide a solution to this.
Thank you!
Alan.
|