Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

What I love on iOS is, system always backs up following things:

  • Applications that you installed (not app itself but link to appstore)
  • Apps' configuration files and saved data
  • Whole system configuration

And I've found some similarities with iOS on this system. For ex., both OSs have application centre with app installation queue functionality.

I don't want whole system (file by file) backup like Acronis or Norton Ghost does. What I need is, say, my Ubuntu crashed, or just want to refresh installation for some reason. whatever.. I want to install "brand new" system, with "brand new" installation of all applications that I used + restore their configuration, like iOS does when there is new update for system, or for ex. you change your iPhone. On iOS all you need to do is to login into your cloud account and voila!

In other words, I want get exactly same backup strategy of iOS on Ubuntu.

I got some solution for backing up installed repository and applications' list.

Backup pseudo-bash script.

dpkg --get-selections > ~/Package.list
sudo cp /etc/apt/sources.list ~/sources.list
sudo apt-key exportall > ~/Repo.keys
rsync --progress /home/`whoami` /path/to/user/profile/backup/here

And in new system

rsync --progress /path/to/user/profile/backup/here /home/`whoami`
sudo apt-key add ~/Repo.keys
sudo cp ~/sources.list /etc/apt/sources.list 
sudo apt-get install dselect
sudo dpkg --set-selections < ~/Package.list
sudo dselect

My question is, if there is any complex solution with gui that backups current system as I told above? Any suggestions?

Thanks in advance for wasting your time and trying to help.

share|improve this question
    
The second half of this question would make a good answer to one of the existing questions.... –  belacqua May 17 '13 at 15:57
add comment

marked as duplicate by belacqua, coteyr, Basharat Sial, Uri Herrera, Eric Carvalho May 18 '13 at 0:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 2 down vote accepted

What you need is a "system restore" function (similar to the windows one).

I think that this function is provided by a fresh install of Ubuntu 12.10 and custom format btrfs for root and/or home partitions. btrfs disk partition can be set to take regular snapshots and can take you "back in time".

On the other hand, ubuntu can be split into two: a root "/" partition (that keeps the files of applications and a "/home" partition (that keeps your app configuration files -- you may see them if you open your home folder and press CTRL+H, which will reveal the files/folders that start with a dot "."). If you decide to format the root partition only (i.e. do a new clean install of ubuntu), you may reinstall your apps and your old configuration files will be there, intact.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.