Displaying 1 result from an estimated 1 matches for "foonam".
Did you mean:
poonam
2006 Jul 27
2
rsync help
...back up a directory with numerous files and folders and restore them
but I have not learned how to "exclude" a specific folder from the rsync
backup that runs via cron nightly.
I have tried these:
rsync -av -cache/ -e ssh /home/httpd/vhosts/domain.com/httpdocs/
name at backup13.gnax.net:/fooname/domain
rsync -avr - cache/ -e ssh /home/httpd/vhosts/domain.com/httpdocs/
name at backup13.gnax.net:/fooname/domain
I need to exclude these folders on every domain that is backed up:
cache/
download/
pub/
I have also read the man pages but am not understanding.
How would I accomplish this?
Tha...