[Git][qa/jenkins.debian.net][master] fixup²: rdn: backup+compresss the rebuilder databases via systemd timers weekly
Holger Levsen (@holger)
gitlab at salsa.debian.org
Wed Apr 16 17:28:41 BST 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
8109b0fc by Holger Levsen at 2025-04-16T18:28:34+02:00
fixup²: rdn: backup+compresss the rebuilder databases via systemd timers weekly
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/rebuilderd_db_backup_compress.sh
Changes:
=====================================
bin/rebuilderd_db_backup_compress.sh
=====================================
@@ -8,13 +8,6 @@
#
set -e
-# prevent concurrent runs
-COUNT=$(ps fax|grep $0|grep -v grep | wc -l)
-if [ $COUNT -gt 2 ] ; then
- echo "$(date -u) $0 already running, exiting."
- exit 1
-fi
-
# actually compress those backups
TODAY=$(date '+%Y-%m-%d' -u)
FILES=$(find /srv/rebuilderd/*/stats/db-backup/db-back-$TODAY -type f ! -name '*.zst' ! -name '*.xz')
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/8109b0fc86c357e3318188ebd1cf48730cdf5d83
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/8109b0fc86c357e3318188ebd1cf48730cdf5d83
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250416/e28c0677/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list