From a3734ecc209221c8df12616bd3f1e23398ae14c4 Mon Sep 17 00:00:00 2001 From: Saivann Date: Sun, 3 May 2015 11:48:30 -0400 Subject: [PATCH] Stats script: only rsync necessary logs to save disk space --- _build/update_stats.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_build/update_stats.sh b/_build/update_stats.sh index a88fc4db..8da02a20 100755 --- a/_build/update_stats.sh +++ b/_build/update_stats.sh @@ -10,6 +10,6 @@ WORKDIR='/bitcoin.org/stats' LOGDIR='build@bitcoinorglog:/var/log/nginx' DSTDIR='build@bitcoinorgstats:/var/www/stats' -rsync -rtz --delete $LOGDIR/ $WORKDIR/srclogs/ +rsync -rtz --delete --exclude="error.*" --exclude="*.gz" $LOGDIR/ $WORKDIR/srclogs/ ruby $WORKDIR/stats.rb rsync -rtz --delete $WORKDIR/stats/ $DSTDIR/