Re: New user trying to plan for upgrade
Thanks to all as an inexperienced user in the process, my choice in this area was more of self-protection should I mishandle the upgrade process at some point in time. It's nice to see so many indicate I am probably being overly protective. Tomas Bodzar wrote: With snapshots I follow this line : 1) download latest bsd.rd and place it in / 2) reboot and boot from bsd.rd 3) choose (U)pgrade 4) after upgrade reboot 5) # sysmerge -s your_favorite_mirror/etcXX.tgz -x your_favorite_mirror/xetcXX.tgz 6) sometimes reboot sometimes no change so no reboot 7) sudo pkg_add -vu I'm doing it for around 2 years and no data loss in /home or any other part of system and my config files are ok. I tested this even when upgrading from eg. 4.5 to 4.6, but of course that in both cases you must read current.hml in first case and upgradeXX.html in second case On Tue, Dec 22, 2009 at 2:23 AM, David Shuman d.shu...@att.net wrote: It appears there are issues and processes that require the maintenance of config files and the like after an upgrade of OpenBSD. As I am relatively new to this process I intend to create two directories in my home directory to keep copies of all my alterations to OpenBSD. I hope these will assist me in the upgrade process and protect me from loss of data/etc as I understand the home directories are protected from changes during the recovery process. If anyone can point out the limitations or additional considerations related to this process I would appreciate the guidance. (I have made some significant post install changes to Comixwall that was based on OpenBSD 4.3 a while ago. However, I have never seriously considered assuring I could upgrade an OpenBSD system. As I am now considering significant and long term use I need to plan for this event.) One directory will contain modifications /home/{userid}/chgusr where /home/{userid}/chgusr/etc/rc.local {80x50 console changes) /home/{userid}/chgusr/etc/X11/xorg.conf {modified due to difficult hardware) Another directory will contain additions /home/{userid}/addusr (djbdns a bind replacement may be in here) where the subdirectories are the locations the content was added to OpenBSD. I am hoping this content can be copied after an update as it is not a part of OpenBSD making upgrades easier for me. Thanks for considering and assisting in advance.
Re: New user trying to plan for upgrade
It's OpenBSD. As I test/use more then one OS I can confirm that only problematic part on OpenBSD is user not system :-) Can't say same about other OS's. They are missing http://www.openbsd.org/papers/asiabsdcon2009-release_engineering/ On Tue, Dec 22, 2009 at 2:43 PM, David Shuman d.shu...@att.net wrote: Thanks to all as an inexperienced user in the process, my choice in this area was more of self-protection should I mishandle the upgrade process at some point in time. B It's nice to see so many indicate I am probably being overly protective. Tomas Bodzar wrote: With snapshots I follow this line : 1) download latest bsd.rd and place it in / 2) reboot and boot from bsd.rd 3) choose (U)pgrade 4) after upgrade reboot 5) # sysmerge -s your_favorite_mirror/etcXX.tgz -x your_favorite_mirror/xetcXX.tgz 6) sometimes reboot sometimes no change so no reboot 7) sudo pkg_add -vu I'm doing it for around 2 years and no data loss in /home or any other part of system and my config files are ok. I tested this even when upgrading from eg. 4.5 to 4.6, but of course that in both cases you must read current.hml in first case and upgradeXX.html in second case On Tue, Dec 22, 2009 at 2:23 AM, David Shuman d.shu...@att.net wrote: It appears there are issues and processes that require the maintenance of config files and the like after an upgrade of OpenBSD. B As I am relatively new to this process I intend to create two directories in my home directory to keep copies of all my alterations to OpenBSD. I hope these will assist me in the upgrade process and protect me from loss of data/etc as I understand the home directories are protected from changes during the recovery process. B If anyone can point out the limitations or additional considerations related to this process I would appreciate the guidance. B (I have made some significant post install changes to Comixwall that was based on OpenBSD 4.3 a while ago. B However, I have never seriously considered assuring I could upgrade an OpenBSD system. B As I am now considering significant and long term use I need to plan for this event.) One directory will contain modifications /home/{userid}/chgusr B B B where /home/{userid}/chgusr/etc/rc.local B B {80x50 console changes) /home/{userid}/chgusr/etc/X11/xorg.conf B B {modified due to difficult hardware) Another directory will contain additions /home/{userid}/addusr (djbdns a bind replacement may be in here) where the subdirectories are the locations the content was added to OpenBSD. B I am hoping this content can be copied after an update as it is not a part of OpenBSD making upgrades easier for me. Thanks for considering and assisting in advance.
Re: New user trying to plan for upgrade
On Tue, 22 Dec 2009, Paul M wrote: On 22/12/2009, at 2:23 PM, David Shuman wrote: It appears there are issues and processes that require the maintenance of config files and the like after an upgrade of OpenBSD. I prefer to merge directories with mc - allows visual comparison of individual file timestamps sizes very quickly intuitively. Blow out the new /etc (or /var/www, ..) into a temporary directory structure and f5 f6 away. Also has a 'compare directory' function that highlights updated files, though that is not as usable as just scanning for the release timestamp. Lee
Re: New user trying to plan for upgrade
On Tue, 22 Dec 2009 08:43 -0500, David Shuman d.shu...@att.net wrote: Thanks to all as an inexperienced user in the process, my choice in this area was more of self-protection should I mishandle the upgrade process at some point in time. It's nice to see so many indicate I am probably being overly protective. I re-install often (do not upgrade). To me, upgrades seem wrong no matter the OS. If you have good, working backups and have properly documented your setup, then you'll be fine doing clean installs. Brad
Re: New user trying to plan for upgrade
What is wrong with /var/backups ? I like tp have all those config files, ALL and in one place. L. V. Lammert wrote: On Tue, 22 Dec 2009, Paul M wrote: On 22/12/2009, at 2:23 PM, David Shuman wrote: It appears there are issues and processes that require the maintenance of config files and the like after an upgrade of OpenBSD. I prefer to merge directories with mc - allows visual comparison of individual file timestamps sizes very quickly intuitively. Blow out the new /etc (or /var/www, ..) into a temporary directory structure and f5 f6 away. Also has a 'compare directory' function that highlights updated files, though that is not as usable as just scanning for the release timestamp. Lee
New user trying to plan for upgrade
It appears there are issues and processes that require the maintenance of config files and the like after an upgrade of OpenBSD. As I am relatively new to this process I intend to create two directories in my home directory to keep copies of all my alterations to OpenBSD. I hope these will assist me in the upgrade process and protect me from loss of data/etc as I understand the home directories are protected from changes during the recovery process. If anyone can point out the limitations or additional considerations related to this process I would appreciate the guidance. (I have made some significant post install changes to Comixwall that was based on OpenBSD 4.3 a while ago. However, I have never seriously considered assuring I could upgrade an OpenBSD system. As I am now considering significant and long term use I need to plan for this event.) One directory will contain modifications /home/{userid}/chgusr where /home/{userid}/chgusr/etc/rc.local {80x50 console changes) /home/{userid}/chgusr/etc/X11/xorg.conf {modified due to difficult hardware) Another directory will contain additions /home/{userid}/addusr (djbdns a bind replacement may be in here) where the subdirectories are the locations the content was added to OpenBSD. I am hoping this content can be copied after an update as it is not a part of OpenBSD making upgrades easier for me. Thanks for considering and assisting in advance.
Re: New user trying to plan for upgrade
David Shuman wrote: It appears there are issues and processes that require the maintenance of config files and the like after an upgrade of OpenBSD. As I am relatively new to this process I intend to create two directories in my home directory to keep copies of all my alterations to OpenBSD. I hope these will assist me in the upgrade process and protect me from loss of data/etc as I understand the home directories are protected from changes during the recovery process. If anyone can point out the limitations or additional considerations related to this process I would appreciate the guidance. (I have made some significant post install changes to Comixwall that was based on OpenBSD 4.3 a while ago. However, I have never seriously considered assuring I could upgrade an OpenBSD system. As I am now considering significant and long term use I need to plan for this event.) One directory will contain modifications /home/{userid}/chgusr where /home/{userid}/chgusr/etc/rc.local {80x50 console changes) /home/{userid}/chgusr/etc/X11/xorg.conf {modified due to difficult hardware) Another directory will contain additions /home/{userid}/addusr (djbdns a bind replacement may be in here) where the subdirectories are the locations the content was added to OpenBSD. I am hoping this content can be copied after an update as it is not a part of OpenBSD making upgrades easier for me. Thanks for considering and assisting in advance. read http://www.openbsd.org/faq/upgrade44.html This page describes 4.3 - 4.4 upgrade (Not re-install) tar czvpf etc43.tar.gz /etc tar czvpf home43.tar.gz /home tar czvpf my_wierd_program_binaries.tar.gz insert list of this stuff, if any sftp or mkisofs cdio -f whatever, to get off of computer completely if you can't lose this stuff. You are doing this anyway regularly. Right!? wonderful sysmerge will drag you through full list of stuff it wants to change, letting you control all of it. -- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. -- Robert Heinlein
Re: New user trying to plan for upgrade
On 22/12/2009, at 2:23 PM, David Shuman wrote: It appears there are issues and processes that require the maintenance of config files and the like after an upgrade of OpenBSD. As I am relatively new to this process I intend to create two directories in my home directory to keep copies of all my alterations to OpenBSD. I hope these will assist me in the upgrade process and protect me from loss of data/etc as I understand the home directories are protected from changes during the recovery process. If anyone can point out the limitations or additional considerations related to this process I would appreciate the guidance. (I have made some significant post install changes to Comixwall that was based on OpenBSD 4.3 a while ago. However, I have never seriously considered assuring I could upgrade an OpenBSD system. As I am now considering significant and long term use I need to plan for this event.) One directory will contain modifications /home/{userid}/chgusr where /home/{userid}/chgusr/etc/rc.local {80x50 console changes) /home/{userid}/chgusr/etc/X11/xorg.conf {modified due to difficult hardware) Another directory will contain additions /home/{userid}/addusr (djbdns a bind replacement may be in here) where the subdirectories are the locations the content was added to OpenBSD. I am hoping this content can be copied after an update as it is not a part of OpenBSD making upgrades easier for me. Thanks for considering and assisting in advance. I dont know whether you need it or not, or whether it's practical in your situation, but concider using find(1) to find config files changed since the install. paulm
Re: New user trying to plan for upgrade
With snapshots I follow this line : 1) download latest bsd.rd and place it in / 2) reboot and boot from bsd.rd 3) choose (U)pgrade 4) after upgrade reboot 5) # sysmerge -s your_favorite_mirror/etcXX.tgz -x your_favorite_mirror/xetcXX.tgz 6) sometimes reboot sometimes no change so no reboot 7) sudo pkg_add -vu I'm doing it for around 2 years and no data loss in /home or any other part of system and my config files are ok. I tested this even when upgrading from eg. 4.5 to 4.6, but of course that in both cases you must read current.hml in first case and upgradeXX.html in second case On Tue, Dec 22, 2009 at 2:23 AM, David Shuman d.shu...@att.net wrote: It appears there are issues and processes that require the maintenance of config files and the like after an upgrade of OpenBSD. B As I am relatively new to this process I intend to create two directories in my home directory to keep copies of all my alterations to OpenBSD. I hope these will assist me in the upgrade process and protect me from loss of data/etc as I understand the home directories are protected from changes during the recovery process. B If anyone can point out the limitations or additional considerations related to this process I would appreciate the guidance. B (I have made some significant post install changes to Comixwall that was based on OpenBSD 4.3 a while ago. B However, I have never seriously considered assuring I could upgrade an OpenBSD system. B As I am now considering significant and long term use I need to plan for this event.) One directory will contain modifications /home/{userid}/chgusr B B B where /home/{userid}/chgusr/etc/rc.local B B {80x50 console changes) /home/{userid}/chgusr/etc/X11/xorg.conf B B {modified due to difficult hardware) Another directory will contain additions /home/{userid}/addusr (djbdns a bind replacement may be in here) where the subdirectories are the locations the content was added to OpenBSD. B I am hoping this content can be copied after an update as it is not a part of OpenBSD making upgrades easier for me. Thanks for considering and assisting in advance. -- http://www.openbsd.org/lyrics.html