LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 06-03-2019, 07:33 AM   #1
Learn*nix
LQ Newbie
 
Registered: Mar 2018
Posts: 22

Rep: Reputation: Disabled
Question Is it possible to perform an upgrade without losing my customizations, settings, software etc.?


Hi, is it possible to perform an upgrade (of Mint -e.g. 16, 17 or 18 upgraded to 19) without losing my customizations, settings, software etc. which I've worked hard on over the years to get 'my' mint the way I want it?

Put another way, is it possible to keep my system as close to how it was before the upgrade? Obviously, some things will have to change such as if a feature is removed or changed but is there a way to mostly keep things intact so that I can go on working the way I did before the upgrade?

And is there any difference to an upgrade versus a complete wipe-and-reinstall? Obviously, if I wipe/format and reinstall I will lose my settings, customisations, installed software etc.?

If I do as much as possible within my user directory and back up said user directory and (after the upgrade) restore my user directory would that help? I'd still lose my installed software correct? But I could possibly write a script to re-install my software again after an upgrade? -But then I'd still lose any customisations made to that software?

Any other suggestions? Possibly I could look at another distro etc.? Or is there possibly software which could help me with this?

Hope the above makes sense? Thank you for your time!
 
Old 06-03-2019, 07:39 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
(I do rolling releases (mostly)) but, you an backup your home configs and hidden files and any configs on your system side that you modified, anything to do with your modifications. upgrade then take it from there.

what changes take place you might have to just put some time in getting them back to where you wanted them, or maybe see some changes as a nice thing and keep them instead.

I'd think the upgrade would be mostly just version updates to get to you a latest version of kernel, and installed software. what changes as before, your config files maybe over written, so if you have a backup of them, it should save you time in having to remember what you did to them to put them the way you liked, but backup the new ones, and copy over the config files with your back up of the old ones.

if anything fails you have your original (upgrade configs) to fall back on to restore it.

Last edited by BW-userx; 06-03-2019 at 07:40 AM.
 
1 members found this post helpful.
Old 06-03-2019, 07:55 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Clem used to have a philosophical objection to "upgrades", but has changed his stance of late (last couple of years). The Mint upgrades (17->18->19) seemed to have worked ok.
You can also keep your customisations even with a "wipe-and-reinstall" if (and only if) you have a separate /home partition and take care not to re-format it during the (re-)install. Will require package reinstalls for manually selected packages, but is easily managed.
You can easily move to a separate /home partition prior to an upgrade in need - plenty of tutorials online.

Been there, done it - it works. But note my sigline. You can't have too many backups.
 
1 members found this post helpful.
Old 06-03-2019, 07:59 AM   #4
Learn*nix
LQ Newbie
 
Registered: Mar 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Question Perform an Upgrade from version x to version x to test this?

Is it possible to perform an upgrade from a version to the same version - the reason is to test this?

So let's say I'm already running Mint 19 (and there isn't a Mint 20+ released yet) can I 'upgrade' from 19 to 19. I'd want to do this to test what I'd lose and what I wouldn't lose (able to restore) etc. Or I suppose a better test would be for me install version 18 in a VM, customise some things, install software etc. and then upgrade to Mint 19. Again the objective would be for me to test this out and improve my ability to restore/upgrade smoothly

I realise that this is a Mint forum but could another distro be better suited to smooth upgrades? - my definition of smooth = less time/work required from me to restore things (as much as possible) to how they were? Possibly Ubuntu or Fedora etc.? Or maybe even Debian? Or the Debian version of Mint (as opposed to the Ubuntu version of Mint) etc.?
 
Old 06-03-2019, 08:09 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Read the section on system snapshots in the install guide.

Mint is as good as any IMHO.
 
1 members found this post helpful.
Old 06-03-2019, 08:19 AM   #6
Learn*nix
LQ Newbie
 
Registered: Mar 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
You can easily move to a separate /home partition prior to an upgrade in need
Apologies for my ignorance but why would I want to move to a separate /home partition prior to the upgrade? Is that so the 'original' /home partition (with the valuable data in it) is unlinked (for want of a better word) and the new (less important /home partition is 'linked') during the upgrade?

Thanks
 
Old 06-03-2019, 12:34 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
separate home and / root partitions on your install. This keeps you separated for any re-installs, and such. During that process you would only need to point to it as a mount point without formatting your /home partition, this keeps all of your stuff so you can still have your customizations intact that reside in your home user.

If you did not create a separate / root and /home during that installation, it still be obtained by creating a separate partition then moving your /home over onto it, change you fstab and remount while in root login or via an live use linux session with root privs. rsync or cp with the proper flags will do the trick.

if you do not have that, then you loose everything upon re-installing your system.

Last edited by BW-userx; 06-03-2019 at 12:48 PM.
 
2 members found this post helpful.
Old 06-03-2019, 03:40 PM   #8
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141

Rep: Reputation: 29
Quote:
Originally Posted by syg00 View Post
Clem used to have a philosophical objection to "upgrades", but has changed his stance of late (last couple of years). The Mint upgrades (17->18->19) seemed to have worked ok.
That was my biggest grumblings with Mint. I held on as long as I could, it was, well ridiculous, to reinstall your OS for each upgrade. Even Windows could do that.

Although I haven't used Mint since 17.x - happy with debian buster 10 - I had always found Mint to be excellent. They polish things up great, weather Cinnamon or Mate (my choice) it is extremely user-friendly. You can learn as much about linux you want... or don't really have to concern yourself with much of it.

I had found a tip about separating ~/ directories. Use a separate parathion and create links for ones with personal files ie)
Code:
ln -s /media/OtherPartition/Downloads ~/Downloads
That way if configuration files need updated they're available for the system. And your files in ~/Music ~/Documents ~/Pictures and others don't need shuffled around. This is just an overview, I had a shell script to create directories, rm the ones in $HOME and create the links.

Last edited by djk44883; 06-04-2019 at 07:07 PM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is There a Slackware App That Keeps Track of /etc Customizations? bilbod Slackware 15 05-18-2017 03:51 PM
Is it possible to reinstall or upgrade linux without losing data?? cyber.scientist Linux - Newbie 14 04-24-2009 07:04 PM
losing DSL, losing GRUB controller andreas_skw Linux - Newbie 4 06-14-2008 01:36 AM
losing DSL, losing GRUB controller andreas_skw Linux - Newbie 1 06-10-2008 11:46 AM
loadkeys customizations WITHOUT tty echo? kr0m3 Linux - General 0 02-07-2006 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 10:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration