View previous topic :: View next topic |
Author |
Message |
Quantumstate Apprentice
Joined: 26 May 2004 Posts: 270 Location: Dallas
|
Posted: Thu Jun 10, 2004 8:05 pm Post subject: Wouldn't it be nice if emerge... |
|
|
Emerge is a great tool; far exceeds BSD's system. But the agony of install makes me not want to do one from scratch again, if I have a disk die.
I wish we could back up our /etc and /home, and then do an:
# emerge sysbackup /mnt/dvd/mysys
which would make a record of every distfile we've chosen to install, into a flat file.
Then when booted to livecd:
# emerge sysrestore /mnt/dvd/mysys
and it would read each distfile noted, and pull it down and install, all in one whack.
Just spitballing here. |
|
Back to top |
|
|
tomthewombat Apprentice
Joined: 29 Mar 2003 Posts: 244 Location: NY State
|
Posted: Thu Jun 10, 2004 8:15 pm Post subject: |
|
|
A very appealing idea! Except, when I reinstall everything it is usually to get rid of all the 'garbage' i emerged but didn't really need. HeHe |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Jun 11, 2004 7:10 am Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
saccory Apprentice
Joined: 18 Feb 2004 Posts: 176 Location: Göttingen, Germany
|
Posted: Fri Jun 11, 2004 7:52 am Post subject: |
|
|
I think, there's no need to blow up emerge. A seperate portage-backup and portage-restore may do the job as well. Although I doubt it can replace an ordinary backup because there are so many dependencies to regard. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9545 Location: beyond the rim
|
Posted: Fri Jun 11, 2004 8:06 am Post subject: |
|
|
Just make a backup of /var/db/pkg in addition to /home and /etc, everything else can be regenerated. |
|
Back to top |
|
|
supernovus Apprentice
Joined: 13 Jul 2003 Posts: 150 Location: inside my head
|
Posted: Fri Jun 11, 2004 7:07 pm Post subject: |
|
|
Use the package building features, save the packages as well as the portage tree on a CD (or multiple CDs if you have a lot of packages) and then you can reinstall easily. I actually wrote a set of scripts which automates this process since one of my computers has no internet access. I installed the entire system with it, and if I want to add a bunch of new software, I can build the packages at work, run a script which builds an update-`date +%F`.tar.bz2 file, stuff it on a zip disk, go home and type:
# tap install-update /mnt/zip/update-`date +%F`.tar.bz2
Presto, I've got all the new updates.
I'm sure you can write something similar to make a backup of your system.
I may integrate the update portion of my scripts with the mainline Tap client, and offer a place to download the installer portion (used to make a mostly automated Gentoo installation CD) if anyone is interested in it. _________________ Remove OTW |
|
Back to top |
|
|
davidblewett Apprentice
Joined: 15 Feb 2004 Posts: 274 Location: Indiana
|
Posted: Sun Jan 30, 2005 11:34 pm Post subject: |
|
|
I would appreciate looking at your work. My system has crashed a few times recently for a variety of reasons, and having an easy way to re-install would be nice. _________________ No guilt in life, no fear in death
this is the power of Christ in me
From lifes first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album" |
|
Back to top |
|
|
/dev/random l33t
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
|
Back to top |
|
|
|