Hi Falko, Thanks for the great article of Mirroring your website with Rsync. I have a question on the exclude parameter, you mentioned "exclude="**/abc" mean that it will exclude /var/www/abc. If I want to rsync /data/* directory and want to exclude /data/user1/Temp, so what should I put in exclude, should I put "exclude=**/Temp" or "excluded=*/Temp"? Is the * go by level of folders? And let's say if the target directory is already have "Temp" directory from the first rsync, will it be deleted if I exclude the Temp on the next rsync? Kindly advise. Cheers, Vibranze
the Temp folder will be deleted if you also pass the --delete parameter... and if you want to exclude more than one thing you could use Code: exclude_from="/path/to/exclude_file" and add stuff like this: Code: /root /usr /tmp /var/lib/ /var/log/