How do I backup all Gnome Tweaks configuration? [duplicate]

Solution 1:

  1. From the terminal, execute the following to save your gnome settings:

    cd ~
    dconf dump / > saved_settings.dconf
    

    Keep the saved_settings.dconf file in a safe place so you can use it after you upgrade.

  2. From the terminal, execute the following to restore your gnome settings:

    cd ~
    dconf load / < saved_settings.dconf
    

(I suggest doing a test to make sure this works for you: Save the settings as shown above in step 1. Then make a few test changes using Gnome Tweaks. Finally restore the settings, as shown above in step 2. If everything restores to the way you had it before, you can use the saved file to restore settings after you upgrade.)

Note: There may be some settings that have changed between Ubuntu versions, and you will need to fix those manually. However, per vanadium's comment below, most settings will transfer over just fine.