public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Timeouts while creating backups on PBS
@ 2023-03-10 15:02 Sven
       [not found] ` <mailman.74.1678721342.446.pve-user@lists.proxmox.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Sven @ 2023-03-10 15:02 UTC (permalink / raw)
  To: pve-user

Hello

we have several clusters (~250 VMs) attached to one PBS and run daily 
backups. Each day, there are random timeouts causing some backups to 
fail.

I've disabled the instant verification process to reduce IO-load on the 
PBS during that time. The timeouts are gone since then.

Because we do want to have verified backups, we tried out scheduled 
verification tasks. Then we have the problem, that it takes to long 
(>1d) to verify all ~250 new snapshots sequentially. 50 parallel verify 
jobs works well.

My current idea is to write a custom scheduler to make sure that there 
is a custom amount of verify jobs simultaneously when no backups are 
running.

Is there a better way I don't see? If I may place a feature request: It 
would be nice to be able to specify how many verify jobs can work 
simultaneously.

Thanks!
Sven



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PVE-User] Timeouts while creating backups on PBS
       [not found] ` <mailman.74.1678721342.446.pve-user@lists.proxmox.com>
@ 2023-03-13 17:07   ` Victor Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Victor Rodriguez @ 2023-03-13 17:07 UTC (permalink / raw)
  To: pve-user


> Because we do want to have verified backups, we tried out scheduled 
> verification tasks. Then we have the problem, that it takes to long 
> (>1d) to verify all ~250 new snapshots sequentially. 50 parallel 
> verify jobs works well.

AFAIK, a verification job will not re-verify a chunk that has been 
verified already by that same job, meaning that a verify job for 2+ 
snapshots should be more efficient that a verify job for each snapshot 
or doing an inmediate verify after each backup.

On the other hand, verifies are processed sequentially, so even if your 
host has enough resources the job will take some time to finish. The 
approach I currently use is to get a few verify jobs for each namespace 
and start them at the same time if possible.


-- 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-13 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 15:02 [PVE-User] Timeouts while creating backups on PBS Sven
     [not found] ` <mailman.74.1678721342.446.pve-user@lists.proxmox.com>
2023-03-13 17:07   ` Victor Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal