Mint restore

Suggestions and feedback for Linux Mint and the forums
Forum rules
Do not post support questions here. Before you post read: Where to post ideas & feature requests
Post Reply
User avatar
shane
Level 5
Level 5
Posts: 940
Joined: Sun Feb 25, 2007 11:15 pm
Contact:

Mint restore

Post by shane »

Hi all,

I did make a similar suggestion for Celena but it was on the day the first Beta was released and hence too late I think... I hope I am not too late again. This is what I have in mind.

Mint recommends that we do a fresh install with every new version of Mint and have / and /home on separate partitions. However, his causes us to lose the extra packages which we installed while we were using the previous version.

My suggestion is to introduce a new tool (mintRestore, for example)which would keep a list of installed packages in a hidden folder in the /home partition... ./mintRestore for example. This is easily done by dpkg --get-selections > installedPackages. This can be run periodically as a cron job or handled by a daemon or even run automatically at shutdown. Then after installing the latest and greatest version of Mint we can simply run mintRestore which will search for /home/.mintRestore/installedPackages and reinstall the packages we had before the upgrade! This would be a simple dpkg --set-selections < installedPackages && dselect command.

Of course, we can do this by hand but it would be nice this way :) Also it could be run with the first run wizard we currently have.

We can expand this idea to include certain configuration files... eg. xserver, network, samba, fstab and other configurations. I, personally, have a few settings that just make my life easier (touchpad and mounting at boot of samba shares through fstab) that I have to redo after each fresh install... if these files could be automatically backed up to the /home/.mintRestore folder, that would save some trouble. Again, we could be prompted to restore these settings in the first run wizard.

To further expand on this idea, we can have mintRestore save the files with the date incorporated in the name eg. xorg.conf-23-10-07. This will provide a way to restore configuration files to a point in time of our choice... effectively providing a settings restore/undo function which we currently do not have in any distro, AFAIK.

What do you guys and gals think about this?
User avatar
The Darkone
Level 1
Level 1
Posts: 43
Joined: Tue Aug 28, 2007 11:16 am
Location: Germany

Post by The Darkone »

http://linuxmint.com/forum/viewtopic.php?t=4847

In Germany we said: "Zwei doofe ein Gedanke"
Translatet: "Two dummies one Idea" ;-)
User avatar
shane
Level 5
Level 5
Posts: 940
Joined: Sun Feb 25, 2007 11:15 pm
Contact:

Post by shane »

The Darkone wrote:http://linuxmint.com/forum/viewtopic.php?t=4847

In Germany we said: "Zwei doofe ein Gedanke"
Translatet: "Two dummies one Idea" ;-)
well we do converge briefly on the backup-by-date-for-the-purpose-of-restoring idea... :D
User avatar
shane
Level 5
Level 5
Posts: 940
Joined: Sun Feb 25, 2007 11:15 pm
Contact:

Post by shane »

sehku17 wrote:You got my vote.

I usually keep an updated shell script of my apps. sudo apt-get install 3ddesktop openssh-server ... This covers what is in the repositories, but nothing else, and you have to re-download everything every time. (which is not a big deal on my connection, but would be bad if you had a slow connection) I do a separate backup of things not in the repository, and this whole thing ends up as one big mess. This way would be much nicer.
what i was suggesting here would still require downloading the packages again from the repos... however, it stores a list of the packages installed previously and installs them for you.

to avoid downloading packages all over again you will have to use aptoncd. this method does not cater for packages not in the repos.
hoppel
Level 3
Level 3
Posts: 174
Joined: Wed Oct 10, 2007 1:38 pm

Re: Mint restore

Post by hoppel »

Great idea! I just updated my mint installation yesterday and I spend an hour or so for writing down a list of all installed programs and after installation searching them in synaptic. It is really painful to do such a task while you have a computer for exactly that kind of repeating work...
User avatar
Sorensei
Level 4
Level 4
Posts: 257
Joined: Tue Jan 16, 2007 8:24 am
Location: Switzerland

Re: Mint restore

Post by Sorensei »

Why not use AptOnCD?

It's already in the packages included if I'm not mistaken...
I don't have a solution, but I do admire the problem.
User avatar
shane
Level 5
Level 5
Posts: 940
Joined: Sun Feb 25, 2007 11:15 pm
Contact:

Re: Mint restore

Post by shane »

sbackup would do something much closer to what i was talking about than aptoncd...

http://ubuntugeek.com/backup-and-restor ... ackup.html
User avatar
Zwopper
Level 10
Level 10
Posts: 3054
Joined: Fri Nov 30, 2007 12:20 pm
Location: Deep in the Swedish woods
Contact:

Re: Mint restore

Post by Zwopper »

A great idea!
Image
My artwork at deviantART | My Band - Electric Alchemea
CREA DIEM!

Lenovo U330P | i5 | 16GB | 128GB - SSD | Elemantary OS 0.4
Post Reply

Return to “Suggestions & Feedback”