diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-12-23 18:54:53 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-12-23 18:54:53 +0100 |
commit | 1f69df34f5ba9571451ec1121aeaeec4b983837a (patch) | |
tree | 9a285e6e7e20474547252636cff8a4747a393c9f | |
parent | 6dce27f2300bf342ee450b2aced3775d5c14632b (diff) | |
download | jenkins.debian.net-1f69df34f5ba9571451ec1121aeaeec4b983837a.tar.xz |
reproducible: provide copy of reproducible.db for external backups
-rwxr-xr-x | bin/reproducible_maintainance.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_maintainance.sh b/bin/reproducible_maintainance.sh index 950a8d4a..8c43265f 100755 --- a/bin/reproducible_maintainance.sh +++ b/bin/reproducible_maintainance.sh @@ -33,6 +33,9 @@ if [ ! -f reproducible_$DATE.db.xz ] ; then xz reproducible_$DATE.db fi +# provide copy for external backups +cp -v $PACKAGES_DB /var/lib/jenkins/userContent/ + # find and warn about old temp directories OLDSTUFF=$(find $REP_RESULTS -type d -name "tmp.*" -mtime +2 -exec ls -lad {} \;) if [ ! -z "$OLDSTUFF" ] ; then |