Page MenuHomeFreeBSD

add backup of efi partition for daily periodic
ClosedPublic

Authored by rew on Jul 11 2020, 6:55 PM.
Tags
None
Referenced Files
F81570282: D25628.id74330.diff
Thu, Apr 18, 6:26 AM
Unknown Object (File)
Fri, Mar 22, 11:05 PM
Unknown Object (File)
Fri, Mar 22, 11:05 PM
Unknown Object (File)
Fri, Mar 22, 11:04 PM
Unknown Object (File)
Fri, Mar 22, 11:04 PM
Unknown Object (File)
Mar 8 2024, 6:09 AM
Unknown Object (File)
Jan 11 2024, 10:56 PM
Unknown Object (File)
Jan 6 2024, 9:40 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rew requested review of this revision.Jul 11 2020, 6:55 PM
rew created this revision.

Can we also add the variables to the usr.sbin/periodic/periodic.conf defaults file. We likely want daily_backup_gpart_enable="YES" but daily_backup_gpart_verbose="NO" and daily_backup_efi_enable="NO"

Each of these variables will also need to be added to share/man/man5/periodic.conf.5

usr.sbin/periodic/etc/daily/221.backup-gpart
100 ↗(On Diff #74330)

Since the EFI partition might be 250+ MB, we might want to give this its own enable/disable flag

  • Document changes for new periodic variables in periodic.conf(5). Set defaults for new variables in periodic.conf.
allanjude added inline comments.
share/man/man5/periodic.conf.5
259 ↗(On Diff #74336)

This creates a backup of the contents of the EFI System partition (boot code), not the partition table

This revision is now accepted and ready to land.Jul 11 2020, 8:38 PM