CDash:ExternalImport

From KitwarePublic
Revision as of 14:27, 3 December 2009 by Jjomier (talk | contribs) (New page: 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 r...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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