aboutsummaryrefslogtreecommitdiff
path: root/scripts/Old/mirror-apnic.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Old/mirror-apnic.sh')
-rw-r--r--scripts/Old/mirror-apnic.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/Old/mirror-apnic.sh b/scripts/Old/mirror-apnic.sh
new file mode 100644
index 00000000..995efcb8
--- /dev/null
+++ b/scripts/Old/mirror-apnic.sh
@@ -0,0 +1,12 @@
+#!/bin/sh -
+# $Id$
+
+# An unknown entity representing itself as gmm says that this is the
+# trust anchor for the APNIC test repository.
+#
+fetch -m -o repository.apnic.net/trust-anchor.cer \
+ http://mirin.apnic.net/resourcecerts/trust-anchor.cer
+
+# Mirror the repository itself
+#
+rsync -aiz --delete rsync://repository.apnic.net/APNIC/ repository.apnic.net/APNIC/