Originally Posted by trigar
I'm coming to the conclusion that the best arrangement is going to be to set up webs on server B for www2.example.com, www2.another.com, etc, then individually rsync the content from server A for www.example.com. www.another.com, etc.
Seems to all work fine, except that of course the owner and group are not appropriate for the destination. I.e. source web is web13, destination is say web4 (ideally these would be in sync, but there does not seem to be anywhere in ISPConfig to set the web_ID). So I believe the only solution is to change group and owner after rsync has completed?
The rsync command looks like this:
/usr/bin/rsync -avz --delete --exclude-from="/root/rsync/excludes" -e "ssh -i /root/rsync/mirror-rsync-key" email@example.com:/var/www/web13/ /var/www/web4/
I knew this idea wasn't elegant, but it's starting to look positively ugly... Any thoughts?