[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 16:59:59 BST 2025



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
893c8d23 by Holger Levsen at 2025-04-16T17:59:44+02:00
fixup: rdn: backup+compresss the rebuilder databases via systemd timers weekly

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


3 changed files:

- bin/rebuilderd_db_backup_compress.sh
- hosts/osuosl5-amd64/etc/systemd/system/rebuilderd-db-backup-compress.timer
- hosts/osuosl5-amd64/etc/systemd/system/rebuilderd-db-backup at .timer


Changes:

=====================================
bin/rebuilderd_db_backup_compress.sh
=====================================
@@ -10,7 +10,7 @@ set -e
 
 # prevent concurrent runs
 COUNT=$(ps fax|grep $0|grep -v grep | wc -l)
-if [ $COUNT -gt 1 ] ; then
+if [ $COUNT -gt 2 ] ; then
 	echo "$(date -u) $0 already running, exiting."
 	exit 1
 fi


=====================================
hosts/osuosl5-amd64/etc/systemd/system/rebuilderd-db-backup-compress.timer
=====================================
@@ -2,7 +2,7 @@
 Description=Periodically compress the backups of all rebuilderd databases
 
 [Timer]
-OnCalendar=Daily 12:00
+OnCalendar=*-*-* 09:00:00
 
 [Install]
 WantedBy=timers.target


=====================================
hosts/osuosl5-amd64/etc/systemd/system/rebuilderd-db-backup at .timer
=====================================
@@ -3,7 +3,7 @@ Description=Periodically backup a rebuilderd database
 
 [Timer]
 # dinstall runs 1|7|13|19:52 UTC - see https://salsa.debian.org/ftp-team/dak/blob/master/config/debian/crontab
-OnCalendar=Sun, 05:00
+OnCalendar=Sun *-*-* 06:00:00
 # randomly distribute over an hour
 RandomizedDelaySec=3600
 



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/893c8d23c21c78d12d006155bb135382a0aabd4e

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/893c8d23c21c78d12d006155bb135382a0aabd4e
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/3f976e3f/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list