public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Proxmox PBS: Recommended task schedules (Prune, GC, Verifiy)?
@ 2022-10-29 10:25 Hermann Himmelbauer
  2022-10-29 11:40 ` Roland
  0 siblings, 1 reply; 3+ messages in thread
From: Hermann Himmelbauer @ 2022-10-29 10:25 UTC (permalink / raw)
  To: pve-user

Dear Proxmox users,
I am currently configuring a PBS server. For the retention, I used the 
values from the following page:

https://pbs.proxmox.com/docs/maintenance.html

keep-last:3, keep-daily:30, keep-weekly: 8, keep-monthly: 11, keep-yearly:9

This looks like a decent retention scenario. The underlying datastore is 
ZFS, approx. 40TB.

The backups to my PBS-Server is done at night, starting at 1:00 from a 
PVE-Cluster. The backup itself runs for approx. 5 hours.

Working great, o.k. - now I need to configure the following tasks:

- Prune
- Garbage Collection
- Verfiy

Well, it's now really unclear to me when and how often I should do these 
tasks? Do I have to ensure in some way that these tasks don't overlap?

Thinking in non-overlapping terms, I'd do it like this:

- Prune: daily at 6:00
- GC: daily at 11:00
- Verify: daily at 15:00

Or is it better to simply do it like that:

- Prune: hourly
- GC: hourly
- Verfiy: hourly

Any hints?

Best Regards,
Hermann

P.S.: I think it would be a great addition to the manual to put some 
recommendations / best practices there.






-- 
Hermann Himmelbauer
Martinstraße 18/2
3400 Klosterneuburg
Mobile: +43-699-11492144
E-Mail: hermann@qwer.tk
GPG/PGP: 299893C7 (on keyservers)



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

* Re: [PVE-User] Proxmox PBS: Recommended task schedules (Prune, GC, Verifiy)?
  2022-10-29 10:25 [PVE-User] Proxmox PBS: Recommended task schedules (Prune, GC, Verifiy)? Hermann Himmelbauer
@ 2022-10-29 11:40 ` Roland
  2022-10-29 13:02   ` RundIT, Service
  0 siblings, 1 reply; 3+ messages in thread
From: Roland @ 2022-10-29 11:40 UTC (permalink / raw)
  To: Proxmox VE user list, Hermann Himmelbauer

 >Do I have to ensure in some way that these tasks don't overlap?

since proxmox gui/scheduling won't allow serialization of this tasks,
i'm running them via cron/script

# proxmox-backup-manager verify pve-t620_backup --ignore-verified true
--outdated-after 30
# pvesm prune-backups pbs_pve-t620_backup --keep-daily 31 --keep-weekly
8 --keep-monthly 6
# proxmox-backup-manager garbage-collection start pve-t620_backup

regards
Roland



Am 29.10.22 um 12:25 schrieb Hermann Himmelbauer:
> Dear Proxmox users,
> I am currently configuring a PBS server. For the retention, I used the
> values from the following page:
>
> https://pbs.proxmox.com/docs/maintenance.html
>
> keep-last:3, keep-daily:30, keep-weekly: 8, keep-monthly: 11,
> keep-yearly:9
>
> This looks like a decent retention scenario. The underlying datastore
> is ZFS, approx. 40TB.
>
> The backups to my PBS-Server is done at night, starting at 1:00 from a
> PVE-Cluster. The backup itself runs for approx. 5 hours.
>
> Working great, o.k. - now I need to configure the following tasks:
>
> - Prune
> - Garbage Collection
> - Verfiy
>
> Well, it's now really unclear to me when and how often I should do
> these tasks? Do I have to ensure in some way that these tasks don't
> overlap?
>
> Thinking in non-overlapping terms, I'd do it like this:
>
> - Prune: daily at 6:00
> - GC: daily at 11:00
> - Verify: daily at 15:00
>
> Or is it better to simply do it like that:
>
> - Prune: hourly
> - GC: hourly
> - Verfiy: hourly
>
> Any hints?
>
> Best Regards,
> Hermann
>
> P.S.: I think it would be a great addition to the manual to put some
> recommendations / best practices there.
>
>
>
>
>
>



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

* Re: [PVE-User] Proxmox PBS: Recommended task schedules (Prune, GC, Verifiy)?
  2022-10-29 11:40 ` Roland
@ 2022-10-29 13:02   ` RundIT, Service
  0 siblings, 0 replies; 3+ messages in thread
From: RundIT, Service @ 2022-10-29 13:02 UTC (permalink / raw)
  To: Proxmox VE user list

In German speaking 

I call me 

Von meinem iPhone gesendet

> Am 29.10.2022 um 13:40 schrieb Roland <devzero@web.de>:
> 
> >Do I have to ensure in some way that these tasks don't overlap?
> 
> since proxmox gui/scheduling won't allow serialization of this tasks,
> i'm running them via cron/script
> 
> # proxmox-backup-manager verify pve-t620_backup --ignore-verified true
> --outdated-after 30
> # pvesm prune-backups pbs_pve-t620_backup --keep-daily 31 --keep-weekly
> 8 --keep-monthly 6
> # proxmox-backup-manager garbage-collection start pve-t620_backup
> 
> regards
> Roland
> 
> 
> 
>> Am 29.10.22 um 12:25 schrieb Hermann Himmelbauer:
>> Dear Proxmox users,
>> I am currently configuring a PBS server. For the retention, I used the
>> values from the following page:
>> 
>> https://pbs.proxmox.com/docs/maintenance.html
>> 
>> keep-last:3, keep-daily:30, keep-weekly: 8, keep-monthly: 11,
>> keep-yearly:9
>> 
>> This looks like a decent retention scenario. The underlying datastore
>> is ZFS, approx. 40TB.
>> 
>> The backups to my PBS-Server is done at night, starting at 1:00 from a
>> PVE-Cluster. The backup itself runs for approx. 5 hours.
>> 
>> Working great, o.k. - now I need to configure the following tasks:
>> 
>> - Prune
>> - Garbage Collection
>> - Verfiy
>> 
>> Well, it's now really unclear to me when and how often I should do
>> these tasks? Do I have to ensure in some way that these tasks don't
>> overlap?
>> 
>> Thinking in non-overlapping terms, I'd do it like this:
>> 
>> - Prune: daily at 6:00
>> - GC: daily at 11:00
>> - Verify: daily at 15:00
>> 
>> Or is it better to simply do it like that:
>> 
>> - Prune: hourly
>> - GC: hourly
>> - Verfiy: hourly
>> 
>> Any hints?
>> 
>> Best Regards,
>> Hermann
>> 
>> P.S.: I think it would be a great addition to the manual to put some
>> recommendations / best practices there.
>> 
>> 
>> 
>> 
>> 
>> 
> 
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 




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

end of thread, other threads:[~2022-10-29 13:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-29 10:25 [PVE-User] Proxmox PBS: Recommended task schedules (Prune, GC, Verifiy)? Hermann Himmelbauer
2022-10-29 11:40 ` Roland
2022-10-29 13:02   ` RundIT, Service

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