

- #Backuplist before restoring windows how to#
- #Backuplist before restoring windows update#
- #Backuplist before restoring windows software#
- #Backuplist before restoring windows password#
How to reset Compiz/Unity configuration?īackups take some planning and there are several viable strategies.If something when wrong and you find your self needing to do so, please have a look at these posts: There are a few posts in Ask Ubuntu that can guide you in case something when wrong and you need to hard reset your desktop. The only thing left is to do some clean up and check that everything is working. Follow the prompts to restore the files to their original positionsĪfter this is done you will have your packages back to the saved selection, our configuration restored and hopefully a working desktop, all of that without installing a single extra application and using the Ubuntu default tools.Open the backup tool and on the overview tab press restore.Remove your current configuration from your home creating a backup of the folder in their current state (after all, whats the use of restoring fresh files if there are other there that can affect the configuration?) mkdir ~/.old-gnome-config/ & mv ~/.gnome* ~/.old-gnome-config/ & mv ~/.gconf* ~/.old-gnome-config/ & mv ~/.metacity ~/.old-gnome-config/ & mv ~/.cache ~/.old-gnome-config/ & mv ~/.dbus ~/.old-gnome-config/ & mv ~/.dmrc ~/.old-gnome-config/ & mv ~/.mission-control ~/.old-gnome-config/ & mv ~/.thumbnails ~/.old-gnome-config/ & ~/.config/dconf/* ~/.old-gnome-config/Īfter this is done restore the backup created with Deja-dup. Sudo dpkg -clear-selections will mark all current packages installed for removal, that way when you restore your saved package list the packages that are not on the list will be removed from your system. Sudo dpkg -set-selections < ~/backup/installed_packages.log & sudo apt-get dselect-upgrade Restore the packages from the saved installed_packages.log sudo dpkg -clear-selections
#Backuplist before restoring windows update#
Update your sources lists sudo apt-get update The backed-up keys sudo apt-key add ~/backup/repositories.keys Start by restoring the sources file from the backup made sudo cp ~/backup/sources.bak /etc/apt/sources.list If when necessary you will be able to restore your files from the ~/backup folder. When this is done you will have a backup of your packages and configuration files relative to your user. Your backup will start after you press Continue
#Backuplist before restoring windows password#

#Backuplist before restoring windows software#
Once you are ready with your system and happy with the software installed you can get a list of the installed packages using the command dpkg -get-selections and save the output in to a log file.Ĭreate a backup folder in your home sudo mkdir ~/backup Backup your current packages and user settings Caution: there is a big chance any modifications outside home will be over written. Who this will not fit for: servers geeks, power users with software installed by source (restoring the package list might break your system), users that have changed the startup script of some application to fit better their needs. A user that wants to have his software restored to how it was when he installed it with all customizations being done and kept in their home folder. Who is this for: users that have normal regular use of their computer, that have done minimal or no configuration outside their home folder, did not mess up startup scripts and services. Sudo dpkg -set-selections < ~/Package.list Rsync -progress /path/to/user/profile/backup/here /home/`whoami` Rsync -progress /home/`whoami` /path/to/user/profile/backup/here This assumes there is only one user on the machine (remove /'whoami' otherwise) and that you used the same username on both installs (modify dest. It will back them up in a format that dpkg can read * for after your reinstall, like this: sudo apt-key add ~/Repo.keysīefore you reinstall, you should probably back up the settings from some of your programs, this can easily be done by grabbing folders from /etc and all the content from your user directory (not just the stuff you can see in nautilus!): rsync -progress /home/`whoami` /path/to/user/profile/backup/hereĪfter you reinstall, you can restore it with: rsync -progress /path/to/user/profile/backup/here /home/`whoami` A quick way of backing up a list of programs is to run this: dpkg -get-selections > ~/Package.list
