-# $Id$
-# $URL$
+SOURCE=ple-backup-cleanup.cron
-vhosts:
- cat VSHOSTS
-
-vprobe:
- vs-probe -f VSHOSTS > VSERVERS
- @echo 'refreshed VSERVERS'
- cat VSERVERS
+ple-backup:
+ @for host in www boot; do for name in ple-backup ple-cleanup; do \
+ fqdn=$$host.planet-lab.eu; target=/etc/cron.daily/$$name.cron; \
+ echo pushing $(SOURCE) onto $$fqdn as $$target; \
+ rsync -av $(SOURCE) root@$$fqdn:$$target; \
+ done ; done
+########################################
vcheck:
- vs-netcheck -f VSERVERS
+ vs-check -f VSERVERS
+
+vshow:
+ vs-show -l -f VSERVERS
+
+vcache:
+ vs-show -f VSERVERS > VCACHE
+vshowcache:
+ vs-show -l -f VCACHE