My Problem
Sometimes after starting an upgrade eg from 7.x to 8.1 the process will stop after failing to download all patches or files.
When I start the upgrade again, I would like it to resume from the last failed patch/file (including the failed one).
This would save me a lot of time and some bandwidth as some of my server upgrades require 30k+ patches and files.
How I Upgrade
I'm following the upgrading guide on the FreeBSD 8.1-RELEASE Announcement page: http://www.freebsd.org/releases/8.1R/announce.html
and using:
My Questions
1. If the update failed to download all patches but did download and apply some - can the upgrade be resumed from that point - not have to re-download and apply the successful patches?
2. If the update downloaded and applied all patches but failed to download all files after - can the upgrade be resumed from that point - not have to re-download all patches (and apply them again) and already successfully downloaded files?
3. Is there any way to change the upgrade command to see the number of files that are downloaded or log this elsewhere - to get a sense of 'progress' like shown when patches are being downloaded?
4. Is it possible to log the patch/file downloading process to diagnose why downloads failed?
5. Are there any commands to download all patches and files first in a more robust way, so I know they are 'all there', and then run the upgrade from that point, possibly so identical servers could re-use these (like ports)?
6. If not all patches are downloaded, for example 10,000 patches are required but only 5,000 are downloaded and applied, and then the upgrade process starts fetching files - will the upgrade fail during file fetching because of this - or will the upgrade only be a partial upgrade even after following all the correct commands to complete the full upgrade cycle and FreeBSD reports a new version number?
7. On a slightly different topic - during the upgrade process is it better to portupgrade -faP or -fac or what? I've read various posts arguing for each and I'd like to get the upgrade process right.
(Sorry - I should put this in another post and tag the commands - will do after other questions answered, if that's ok?)
Your help would be appreciated by me and anyone else suffering long upgrades.
Thanks
Sometimes after starting an upgrade eg from 7.x to 8.1 the process will stop after failing to download all patches or files.
When I start the upgrade again, I would like it to resume from the last failed patch/file (including the failed one).
This would save me a lot of time and some bandwidth as some of my server upgrades require 30k+ patches and files.
How I Upgrade
I'm following the upgrading guide on the FreeBSD 8.1-RELEASE Announcement page: http://www.freebsd.org/releases/8.1R/announce.html
and using:
Code:
freebsd-update upgrade -r 8.1-RELEASE
My Questions
1. If the update failed to download all patches but did download and apply some - can the upgrade be resumed from that point - not have to re-download and apply the successful patches?
2. If the update downloaded and applied all patches but failed to download all files after - can the upgrade be resumed from that point - not have to re-download all patches (and apply them again) and already successfully downloaded files?
3. Is there any way to change the upgrade command to see the number of files that are downloaded or log this elsewhere - to get a sense of 'progress' like shown when patches are being downloaded?
4. Is it possible to log the patch/file downloading process to diagnose why downloads failed?
5. Are there any commands to download all patches and files first in a more robust way, so I know they are 'all there', and then run the upgrade from that point, possibly so identical servers could re-use these (like ports)?
6. If not all patches are downloaded, for example 10,000 patches are required but only 5,000 are downloaded and applied, and then the upgrade process starts fetching files - will the upgrade fail during file fetching because of this - or will the upgrade only be a partial upgrade even after following all the correct commands to complete the full upgrade cycle and FreeBSD reports a new version number?
7. On a slightly different topic - during the upgrade process is it better to portupgrade -faP or -fac or what? I've read various posts arguing for each and I'd like to get the upgrade process right.
(Sorry - I should put this in another post and tag the commands - will do after other questions answered, if that's ok?)
Your help would be appreciated by me and anyone else suffering long upgrades.
Thanks