Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: get back all the settings from 13.2 to pass to leap 42.2

  1. #1

    Default get back all the settings from 13.2 to pass to leap 42.2

    my pc with opensuse 13.2 and many settings to be a file server (six hard disks, sftp with passwordless access using ssh-keygen, web server and other that I don't remember) seem to have problems, it seems that the hard disk is gone, so it seems that I have to reinstall opensuse, it could be a good occasion to pass to 42.2
    I have a backup of /home, /srv, /etc
    how can I get back all the settings to pass to 42.2??
    manythanks, ciao, pier :-)

  2. #2

    Default Re: get back all the settings from 13.2 to pass to leap 42.2

    ...my idea was to reinstall 13.2, copy all the /etc but fstab /home /srv from backup, copy only the part with the other hard disb of fstab, upgrade to 14.2...
    could it be a good idea??

  3. #3

    Default Re: get back all the settings from 13.2 to pass to leap 42.2

    Not sure how safe it is with a transition from an older OpenSUSE version, but OpenSUSE Tumbleweed and Leap 42.2 do offer the possibility of importing an existing user as part of the user creation process. What it means is that the /home directory will be used for the new installation and all of the user configurations will be read by the respective programs. That's how I retained all of my user data when migrating from Arch Linux to OpenSUSE Tumbleweed.

    That covers the user settings, though. For database migration (MySQL, etc.) you need /var, correct. Hopefully someone else shall provide more details on that. I unfortunately have fairly limited experience with MySQL and would only expect that the server daemon might be able to read in the database normally. That's in the realm of speculations, though. The more information on the data to be migrated you can provide us, the better the solution will be .

    EDIT: Forgot to mention. I would recommend a fresh reinstail anyhow.

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,703

    Default Re: get back all the settings from 13.2 to pass to leap 42.2

    Not a great idea to use old /etc files they may not meet the specs of the new OS/programs that use them. For sure keep a copy for reference but in general don't just copy the old files to the new in mass, For mySQL export then import the exported files. Changes in DB structuring can be a terrible thing. Any other data on root like Web sites etc should copy over OK .

    Just reinstall though will just bring 13.2 back to day one and there is no point at all to saving that since 42.2 will be in day one state

  5. #5

    Default Re: get back all the settings from 13.2 to pass to leap 42.2

    Quote Originally Posted by gogalthorp View Post
    Not a great idea to use old /etc files they may not meet the specs of the new OS/programs that use them. For sure keep a copy for reference but in general don't just copy the old files to the new in mass, For mySQL export then import the exported files. Changes in DB structuring can be a terrible thing. Any other data on root like Web sites etc should copy over OK .

    Just reinstall though will just bring 13.2 back to day one and there is no point at all to saving that since 42.2 will be in day one state
    ...my point waas: if I upgrade from 13.2 > 42.1 > 42.2 everything should go fairly, so, if I reinstall 13.2, update to today, copy the /etc (but fstab) /home /srv/ that comes from old 13.2 (backup of 15days ago) in the fresh updated 13.2. then upgrade to > 42.1 and 42.2 should it also go fairly??
    manythanks :-), ciao, pier

  6. #6

    Default Re: get back all the settings from 13.2 to pass to leap 42.2

    Quote Originally Posted by AndyMender View Post
    EDIT: Forgot to mention. I would recommend a fresh reinstail anyhow.
    ...yes but I lose all the settings and I suppose a lot of time and cry to set up them again

  7. #7
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,703

    Default Re: get back all the settings from 13.2 to pass to leap 42.2

    Keep a copy of etc as reference for setting up but avoid just using the files they may not be compatible

    13.2 to 42.2 is a huge leap (cough cough) and as such can be hard to do it is much easier to simply install new and re set up keep and thing that you may need to reference

  8. #8

    Default Re: get back all the settings from 13.2 to pass to leap 42.2

    Quote Originally Posted by gogalthorp View Post
    Keep a copy of etc as reference for setting up but avoid just using the files they may not be compatible

    13.2 to 42.2 is a huge leap (cough cough)
    Quote Originally Posted by gogalthorp View Post
    and as such can be hard to do it is much easier to simply install new and re set up keep and thing that you may need to reference
    manythanks, ...I supposed that upgrading from 13.2>42.1>42.2 the leap (cough cough) was done by the upgrading process...

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,703

    Default Re: get back all the settings from 13.2 to pass to leap 42.2

    You can upgrade but it probably won't be trouble free

  10. #10

    Default Re: get back all the settings from 13.2 to pass to leap 42.2

    Quote Originally Posted by pier_andreit View Post
    manythanks, ...I supposed that upgrading from 13.2>42.1>42.2 the leap (cough cough) was done by the upgrading process...
    Personally I just upgraded from 13.2 to 42.2 directly without problems.
    This is actually even tested, although only with the standard repos of course.

    Upgrades can always be problematic if you use a lot of additional repos or an otherwise heavily customized system.
    Never had any problems here though (not even with the mysql databases), but mostly I didn't skip versions (except now).

    OTOH, 42.1 was a "downgrade" from 13.2 anyway in certain areas (the parts that come from SLE mostly).
    13.2 -> 42.2 is more like a "real" upgrade and should be even less problematic IMHO. It's not really such a "big leap" as it may seem because 13.2 was entirely based on the latest Factory packages at the time, while SLE, where parts of Leap (the base system in particular) come from, is more conservative (and SLE12, which is the base for Leap 42, is actually older than 13.2).

    If you use btrfs, the installer should even create a snapshot from your old 13.2 system before the upgrade which you can still boot afterwards if there may be problems. (I did test that... )
    But a real backup (which snapshots are not) is never a bad idea anyway.

    PS: config files (e.g. in /etc/) should normally be upwards compatible, or if not adjusted automatically during upgrades.

    And in any case, just try to upgrade, you can always install from scratch anyway.
    Last edited by wolfi323; 12-Feb-2017 at 11:47.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •