summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_maintainance.sh3
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