Mint restore

Write suggestions and new ideas in here
More ideas here http://community.linuxmint.com/idea/welcome
Forum rules
No support questions here please.
No ideas for application developers here please. For example instead use GitHub for Cinnamon and Nemo.

Mint restore

Postby shane on Tue Oct 23, 2007 5:35 pm

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
shane
Level 6
Level 6
 
Posts: 1300
Joined: Sun Feb 25, 2007 11:15 pm

Linux Mint is funded by ads and donations.
 

Postby The Darkone on Tue Oct 23, 2007 6:08 pm

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

In Germany we said: "Zwei doofe ein Gedanke"
Translatet: "Two dummies one Idea" ;-)
User avatar
The Darkone
Level 1
Level 1
 
Posts: 43
Joined: Tue Aug 28, 2007 11:16 am
Location: Germany

Postby sehku17 on Tue Oct 23, 2007 6:15 pm

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.
User avatar
sehku17
Level 1
Level 1
 
Posts: 6
Joined: Tue Oct 23, 2007 5:30 pm

Postby shane on Tue Oct 23, 2007 6:18 pm

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 6
Level 6
 
Posts: 1300
Joined: Sun Feb 25, 2007 11:15 pm

Postby shane on Tue Oct 23, 2007 6:25 pm

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.
User avatar
shane
Level 6
Level 6
 
Posts: 1300
Joined: Sun Feb 25, 2007 11:15 pm

Re: Mint restore

Postby hoppel on Tue Nov 20, 2007 12:59 pm

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...
hoppel
Level 3
Level 3
 
Posts: 175
Joined: Wed Oct 10, 2007 1:38 pm

Re: Mint restore

Postby Sorensei on Wed Nov 21, 2007 5:41 am

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
Sorensei
Level 4
Level 4
 
Posts: 254
Joined: Tue Jan 16, 2007 8:24 am
Location: Switzerland

Re: Mint restore

Postby shane on Sat Nov 24, 2007 2:47 am

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

http://ubuntugeek.com/backup-and-restor ... ackup.html
User avatar
shane
Level 6
Level 6
 
Posts: 1300
Joined: Sun Feb 25, 2007 11:15 pm

Re: Mint restore

Postby bef on Mon Dec 10, 2007 1:46 am

I like this idea a lot.. I would be pleased even if it could just generate a text file with a list of what I've installed additionally and updated. Would save time and effort when it comes to making a fresh install for a new version.
Image
member 675
User avatar
bef
Level 3
Level 3
 
Posts: 102
Joined: Wed Jan 24, 2007 8:01 am
Location: Perth, Western Australia

Re: Mint restore

Postby Zwopper on Fri Dec 28, 2007 4:50 am

A great idea!
Image
My artwork at deviantART | My Tweet
CREA DIEM!
Lenovo E320 | 8GB | 512GB Samsung 840 PRO - SSD | Ubuntu 14.04
User avatar
Zwopper
Level 10
Level 10
 
Posts: 3101
Joined: Fri Nov 30, 2007 12:20 pm
Location: Deep in the Swedish woods

Linux Mint is funded by ads and donations.
 

Return to Suggestions & New Ideas

Who is online

Users browsing this forum: No registered users and 2 guests