Solved Will "freebsd-update upgrade" affect any running components?

Hi,

I have some major upgrades that need to be performed outside of office hours ahead of me. It is my understanding that freebsd-update -r _ upgrade will only prepare things in a separate environment of sorts, and not affect any running components. Just wanting to verify whether such is the case. Since it takes a while, I could then do that ahead of time during office hours.
 
It is my understanding that freebsd-update -r _ upgrade will only prepare things in a separate environment of sorts, and not affect any running components.
Correct. This is also true for freebsd-update fetch (for patch updates). Files are modified only on the freebsd-update install stage.

Since it takes a while, I could then do that ahead of time during office hours.
Yes, you can prepare everything in advance before actually committing to the upgrade.
 
I have some major upgrades that need to be performed outside of office hours ahead of me.
If you're using root on ZFS, I recommend (active) use of Boot Environments (BEs). Besides the necessary backups, BEs offer the best environment when doing system upgrades, especially delicate ones. When doing this on a remote server, the boot once feature of bectl(8) can really be your life saver. Boot Environment & snapshot - important ZFS features provides more info.
 
If you're using root on ZFS, I recommend (active) use of Boot Environments (BEs). Besides the necessary backups, BEs offer the best environment when doing system upgrades, especially delicate ones. When doing this on a remote server, the boot-once option of bectl(8) can really be your life saver. Boot Environment & snapshot - important ZFS features provides more info.
Haha, I was just about to ask what would be the procedure to install these updates on a zfs/beadm snapshot, so then I can reboot into it and see if the changes work
I guess another similar operation would be on "pkg upgrade" on the new snapshot.

Thanks for the links, I know that Verdamen also posts about this regularly :P
 
Back
Top