CDash:ExternalImport
From KitwarePublic
Jump to navigationJump to search
Sometimes it might be useful to synchronize two (or more) CDash instances. Load balancing or fault tolerance are two main reasons. CDash-1-6 implements a very easy way to achieve this by running a continuous cronjob on the remote machine and rsyncing to the remote CDash. Here's how we do it:
rsync -r -a -v -z --delete -e "ssh -l cdashuser" maincdashserver:/var/www/CDash/backup/ backupmachine:/var/www/CDash/backupmaincdash/ cd /var/www/CDash && nice php5 importBuilds.php backupmaincdash