Hi,
Firstly a quick intro, I'm a web developer/linux admin who's trying to
setup automated backups for a client. I really like the look of rsync
and I know it'll do what I want if I can get it to ;)
I've spent some time playing with rsync trying to get it to do what I
want but I keep getting
Aologies for filling up everyone's mailboxes, quite typically I've
managed to fix my own problem. The error I was getting was coming from
the shell script and namely the fact that rsync doesn't like the \
newlines. I've got the two clients working perfectly.
Once again apologies for wasting
George Hazlewood wrote:
/usr/local/bin/rsync -vcrlnptgoxRz --delete -e ssh \
--include-from=/usr/local/rsync/include.conf \
--exclude-from=/usr/local/rsync/exclude.conf --stats --progress \
You can combine includes and excludes into one file:
+ /include/this
- /exclude/that
and reference the
Hi.
The error I was getting was coming from the shell script and namely
the fact that rsync doesn't like the \ newlines.
Humm, this doesn't make sense: the \ are only managed by the shell and
suppressed by it *before* the call to rsync.
/usr/local/bin/rsync -vcrlnptgoxRz --delete -e ssh \