[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Backup Consensus?



hi ya

On Mon, 27 Jan 2003, will trillich wrote:

> On Mon, Jan 27, 2003 at 11:03:47PM +1100, bob parker wrote:
> > FWIW I first of all dump my postgres databases into $HOME, then make a list 
> > of my installed (debian) packages, also in $HOME.
> > 
> > I then backup $HOME excluding browser cache files, /etc and /usr/local.
> > 
> > My idea is that after a disaster I'd make a minimum debian install, restore 
> > $HOME, /usr/local. After that I'd reinstall my packages from the list I 
> > gathered and then selectively restore /etc to get my configs back the way I 
> > had them.
> 
> sounds like a reasonable plan. got a script or two you'd care to
> share? :)

bunch of backup-scripts
	http://www.Linux-Backup.net/app.gwif.html


for simple saving /etc  ( all your config files )
	- stick in a floppy and copy /etc to floppy
		( if it fits -- it should )

	tar zcvf /dev/fd0 /etc ;; sync

	-- to read it  --
	tar ztvf /dev/fd0

---------

for saving debian
	dpkg --get-selections * > /mnt/floppy/backup.pkg.lst 

build up a minium debian sytem
	dpkg --set-selections < /mnt/floppy/backup.pkg.lst
	apt-get dist-upgrade
	apt-get upgrade 


verify your config files and data and install /home  and /usr/local
assuming you were good about where you kept your user data

c ya
alvin




Reply to: