Results 1 to 6 of 6

Thread: Saving/restoring ubuntu configuration help

  1. #1
    Join Date
    Jun 2016
    Beans
    25

    Saving/restoring ubuntu configuration help

    I want to be able to install a new 18.04 version and restore all user settings from my existing 16.04. Is this possible scenario?

    Also wonder what people suggest to use for system restore in case of disasters.

    Thx
    Last edited by Frogs Hair; November 16th, 2018 at 07:05 PM. Reason: Font

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Saving/restoring ubuntu configuration help

    If standard desktop all your user settings are in /home. Only if server or you have some server applications like database or web may you have folders in / (root) that you want to also backup. You may want to backup /etc, if you manually edited any system files. I edit several grub files in /etc/default/grub & /etc/grub.d but since I only edit a few files I manually copy into /home, so my backup of /home includes those files.

    discussion of alternatives/strategy backups
    https://ubuntuforums.org/showthread....4#post13677224
    https://help.ubuntu.com/community/BackupYourSystem
    https://help.ubuntu.com/community/CategoryBackupRecovery


    If you install your own system you are the system admin
    Sysadmins: Everything they told you about backup WAS A LIE
    http://www.theregister.co.uk/2013/07...ebod_monomyth/
    http://www.smallnetbuilder.com/nas/n...-is-not-backup
    Best practice for Backups - theFu
    https://ubuntuforums.org/showthread.php?t=2368992
    https://ubuntuforums.org/showthread....6#post13757986
    More backup info from 1clue
    https://ubuntuforums.org/showthread.php?t=2377810

    From theFu, more for server or server apps on your desktop install
    https://ubuntuforums.org/showthread....6#post13757986
    Some files(temp, cache etc) to exclude from /home backup - post #8 by Paddy Landau
    http://ubuntuforums.org/showthread.php?t=1883834
    http://askubuntu.com/questions/54565...seless-folders
    http://askubuntu.com/questions/40992...ry/40997#40997

    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    13,603
    Distro
    Ubuntu Budgie Development Release

    Re: Saving/restoring ubuntu configuration help

    Would this be a clean installation or upgrade ? If it will be a clean installation 16.04 and 18.04 have different default desktop environments so I don't think it's possible for that reason. You can install the Unity desktop on 18.04 and manually apply your current settings after installed. No matter if you upgrade or install a new version backup your files to a removable device if possible. The upgrade process is long and problematic for some users.
    “Start where you are. Use what you have. Do what you can".

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  4. #4
    Join Date
    Jun 2016
    Beans
    25

    Re: Saving/restoring ubuntu configuration help

    What if we simplified the case and say use on 16.04 only to be able to restore system settings (and maybe apps) on the same h/w or new in case of disaster. What would you use ?

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Saving/restoring ubuntu configuration help

    In my case I have a very small /home as all my data is in a separate data partition.
    So I have /home backed up and my data partition backed up, but normally do not have to do anything other than mount it in new install.
    I also export a list of all my apps. I only change one or two files in /etc, so copy those into /home so automatically included in my backup of /home. I do not backup any other system files and assume I will just reinstall.

    I use rsync which is not really recommended for backup, but good for copying. But I resync to another drive, to multiple flash drives at different times. Not necessarily well organized, but works for me.
    Oldfred's list of stuff to backup May 2011 (still mostly current, see added links below):
    http://ubuntuforums.org/showthread.php?t=1748541
    Adding extra commands to rsync
    http://ubuntuforums.org/showthread.php?t=2260658
    More detail on /etc files and others to backup - post #3:
    http://ubuntuforums.org/showthread.php?t=1500559
    Some files(temp, cache etc) to exclude from /home backup - post #8 by Paddy Landau
    http://ubuntuforums.org/showthread.php?t=1883834
    http://askubuntu.com/questions/545655/backup-your-home-directory-with-rsync-and-skip-useless-folders

    https://wiki.archlinux.org/index.php...kup_with_rsync


    TheFu is more organized (seems to have managed lots of servers over time) and recommends rdiff which is somewhat similar to rsync.
    Discussion of issues on rsync bash file & rdiff-backup - TheFu
    https://ubuntuforums.org/showthread.php?t=2392127
    http://ubuntuforums.org/showthread.php?t=2224428
    http://www.kirya.net/articles/backup...-rdiff-backup/
    Sample rdiff file by TheFu
    http://ubuntuforums.org/showthread.p...0#post12911880
    http://blog.jdpfu.com/2013/10/20/rdiff-backup-real-use
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Jun 2016
    Beans
    25

    Re: Saving/restoring ubuntu configuration help

    thank you, need to digest all this information

Tags for this Thread

Bookmarks

Posting Permissions

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