Scheduled backup job keep repeating or iterating, how to stop?

boguo

Member
Apr 10, 2020
14
0
6
61
Hi Community!

We have migrated to 7.2-7, the most surprises so far are with backups. We did adjusted to the new schedule format and was able to set up two schedules alternating for two different storage devices - "mon,wed,fri 01" on backup01, and "tue,thu,sat 01" on backup02

But to our surprise, the job seemed to run none-stop by backup the list VMs over and over again. We than used the "Schedule Simulator" button on the upper right of the backup schedule page. It actually showed "Iterations" as 10. See image below. Does that mean it will repeat one schedule job 10 times? We had not idea where we may have possibly set the iteration number to one (1).

Screenshot from 2022-09-06 14-50-29.png


Thanks!

Bo
 

Attachments

  • Screenshot from 2022-09-06 14-47-46.png
    Screenshot from 2022-09-06 14-47-46.png
    15.3 KB · Views: 3
It actually showed "Iterations" as 10. See image below. Does that mean it will repeat one schedule job 10 times?

Afaiu this is only for the simulator to specify how many iterations of the given schedule you want to simulate.

I am no expert at all in those calendar events, but simulating your example: tue,thu,sat 01 runs a backup every hour (one minute after the full hour) on Tuesday, Thursday and Saturday.
Only to be sure: This is what you want, right?

But to our surprise, the job seemed to run none-stop by backup the list VMs over and over again.

If we assume, that the schedule you put in is correct and does not run every minute or so; then you are now the third one who encountered this problem: [1] [2]

Maybe @dcsapak and/or @fiona can/want to have a deeper look in here, what is going on. :)

[1] https://forum.proxmox.com/threads/backup-job-for-one-hour-keeps-running-every-minute.113945
[2] https://forum.proxmox.com/threads/backup-job-spam.114441
 
Last edited:
  • Like
Reactions: boguo
If you want, you could provide the outputs in code-tags and answers mentioned in the other thread:

Hi,

did you modify the job before it started happening? Was it a newly created job? Do you have a cluster or is this a stand-alone node?

If you haven't rebooted yet, can you post the output of ps aux | grep pvescheduler?

Please also post the output of pveversion -v and part of /var/log/syslog around the time the issue started happening.

also can you post the content of the file '/var/lib/pve-manager/jobs/vzdump-<id of backup job>.json' ?

is it still happening? can you post the content of /etc/pve/jobs.cfg and
Code:
head /var/lib/pve-manager/jobs/vzdump-*
?
 
If you want, you could provide the outputs in code-tags and answers mentioned in the other thread:
We updated to new kernel and subsequently rebooted the two Proxmox PVE having the same behavior. We will provide the info should the situation not fixed with the new updates. Stay tuned.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!