3.1.16
[infrastructure.git] / scripts / Makefile
index a37ff36..87ef0f6 100644 (file)
@@ -1,3 +1,13 @@
+SOURCE=ple-backup-cleanup.cron
+
+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-check -f VSERVERS