Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #234754

Re: Ghost cronjob

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Ghost cronjob
Date 2021-05-03 16:50 +0200
Message-ID <CaI3v-6Tf-3@gated-at.bofh.it> (permalink)
References <CaASm-2Q4-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 03 May 2021 at 09:07:26 (+0200), Mart van de Wege wrote:
> I have the following configured to back up my laptop to my file server:
> 
> root@galahad:~# cat /etc/cron.d/backup 
> MAILTO=mart@vdwege.eu
> #00 04 * * * root /usr/sbin/btrbk --verbose --format=long run
> 
> Note: it is currently disabled.
> 
> The only other places I have anything mentioning btrbk in /etc is in
> btrbk's config files:
> 
> root@galahad:~# grep btrbk /etc/ -rl
> /etc/btrbk/btrbk.conf.example
> /etc/btrbk/btrbk.conf.old
> /etc/btrbk/btrbk.conf.local
> /etc/btrbk/btrbk.conf~
> /etc/btrbk/btrbk.conf
> /etc/cron.d/backup
> 
> And yet I find this in /var/log/btrbk.log:
> 
> 2017-03-12T20:16:28+0100 startup v0.24.0 - - - - # btrbk command line client, version 0.24.0
> 
> There are no systemd timers related to btrbk either.
> 
> This started about 1.5 months ago when I changed the backup time from
> midnight to 04:00; it took me some time to notice in the status mails
> that btrbk was creating duplicate snapshots, and checking the logs
> showed that at ran both at midnight and at 04:00. Disabling the 04:00
> cronjob left the ghost cronjob at 00:00 intact.
> 
> How do I find out why a periodic job is running with nothing obviously
> configured for it?

Just guessing. You set the cron job to initiate a backup at 04:00.
Perhaps there's something configured in your /etc/btrbk/btrbk.conf
that says check for retention by day/week/month/year rather than
04:00/day/week/month/year. The former check has to made at midnight.

Cheers,
David.

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Ghost cronjob Mart van de Wege <mart@vdwege.eu> - 2021-05-03 09:10 +0200
  Re: Ghost cronjob <tomas@tuxteam.de> - 2021-05-03 09:20 +0200
    Re: Ghost cronjob Mart van de Wege <mart@vdwege.eu> - 2021-05-03 10:00 +0200
      Re: Ghost cronjob <tomas@tuxteam.de> - 2021-05-03 11:30 +0200
        Re: Ghost cronjob Mart van de Wege <mart@vdwege.eu> - 2021-05-03 12:10 +0200
  Re: Ghost cronjob Mart van de Wege <mart@vdwege.eu> - 2021-05-03 09:20 +0200
  Re: Ghost cronjob David Wright <deblis@lionunicorn.co.uk> - 2021-05-03 16:50 +0200
    Re: Ghost cronjob Mart van de Wege <mart@vdwege.eu> - 2021-05-03 18:40 +0200
  Re: Ghost cronjob Stefan Monnier <monnier@iro.umontreal.ca> - 2021-05-03 18:50 +0200
    Re: Ghost cronjob Mart van de Wege <mart@vdwege.eu> - 2021-05-03 20:20 +0200
      Re: Ghost cronjob Stefan Monnier <monnier@iro.umontreal.ca> - 2021-05-03 20:40 +0200
        Re: Ghost cronjob <tomas@tuxteam.de> - 2021-05-03 21:40 +0200
        Re: Ghost cronjob Mart van de Wege <mart@vdwege.eu> - 2021-05-03 22:00 +0200
          Re: Ghost cronjob Mart van de Wege <mart@vdwege.eu> - 2021-05-04 08:50 +0200
            Re: Ghost cronjob Sven Hartge <sven@svenhartge.de> - 2021-05-04 15:50 +0200
              Re: Ghost cronjob Mart van de Wege <mart@vdwege.eu> - 2021-05-04 17:10 +0200
                Re: Ghost cronjob David Wright <deblis@lionunicorn.co.uk> - 2021-05-04 18:10 +0200
                Re: Ghost cronjob Mart van de Wege <mart@vdwege.eu> - 2021-05-04 20:00 +0200
                Re: Ghost cronjob Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-04 21:30 +0200
                Re: Ghost cronjob David Wright <deblis@lionunicorn.co.uk> - 2021-05-05 04:50 +0200
                Re: Ghost cronjob l0f4r0@tuta.io - 2021-05-08 10:20 +0200
                Re: Ghost cronjob Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-08 12:00 +0200

csiph-web