Subject: Re: saving and recreating an existing installation
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: netbsd-help
Date: 03/27/2006 14:56:17
Chavdar Ivanov --> netbsd-help (2006-03-27 12:48:48 +0100):
> On 26/03/06, Ja'far Railton <ibn.richard@gmail.com> wrote:
> > hello
> >
> > I have a laptop running -current and it's great. However, I need to
> > install one or two other OS's. I installed NetBSD to "use the whole
> > disk" so I think I need to wipe it and start again. How much of my
> > existing installation can I save/recreate, e.g., if I were to do a
> > fresh install, install the packages I need, and then copy my saved
> > etc.tgz and {home/}user.tgz onto the new installation? Will that work
> > at all? What other options do I have? (I don't think dump/restore is
> > an option because I don't have an external drive to backup to.)
> 
> I'd save etc.tgz and the users' home areas as above; as far as the
> packages is concerned, I'd do 'pkg_tarup \*' onto some network
> location; after reinstalling NetBSD in a smaller partition I'd pkg_add
> them from there.

Maybe you'll also like to save and restore some directories from /var,
e.g. /var/backups, /var/cron/tabs, /var/games, ...


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~