From 55b16c89b5800a9133ce39e8f8530938c81158f8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 18 Oct 2014 15:08:43 +0200 Subject: reproducible: do backup in setup script --- bin/reproducible_html_graphs.sh | 4 ---- bin/reproducible_setup.sh | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 71d54ee9..f02b2d5c 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -9,10 +9,6 @@ common_init "$@" # common code defining db access . /srv/jenkins/bin/reproducible_common.sh -# FIXME: move to daily cleanup job -# cp db away for backup purposes -cp $PACKAGES_DB /var/lib/jenkins/userContent/reproducible.db - set +x init_html gather_stats diff --git a/bin/reproducible_setup.sh b/bin/reproducible_setup.sh index 5466f755..c89be793 100755 --- a/bin/reproducible_setup.sh +++ b/bin/reproducible_setup.sh @@ -9,6 +9,9 @@ common_init "$@" # common code defining db access . /srv/jenkins/bin/reproducible_common.sh +# cp db away for backup purposes +cp $PACKAGES_DB /var/lib/jenkins/userContent/reproducible.db + set +x # blacklist some packages for PKG in linux cups zurl openclipart eigen3 xmds2 ; do -- cgit v1.2.3-70-g09d2