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

Re: A pipe dream?



On Tue, Jan 26, 1999 at 06:58:20PM -0500, Mitch Blevins wrote:
> In foo.debian-user, you wrote:
> > 
> > That is basically what I do. I back up my /etc tree and my /home tree to a 
> > zip. I do a complete backup once a week in a cron job and it still all fits on 
> > one zip.
> > 
> > It does not require much of script
> > 
> > tar -cf /zip/home.tar.gz -C /home .
> > tar -cf /zip/etc.tar.gz -C /etc .
> 
> You may want to also add a line to the top of this script:
> 
> dpkg --get-selections > /etc/my_packages.dat
> 
> so that you can easily recreate the installed packages on your system
> (which your /etc backup has the config files for...)
> 
> -Mitch
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
Interesting idea. I'm getting a CD-RW soon and may try that. I'd backup two more directories:
/var - (dpkg databases, mysql data, web data)
/usr/local - a whole lot of stuff I've installed and compiled myself
-- 
Stephen Pitts
smpitts@midsouth.rr.com
webmaster - http://www.mschess.org


Reply to: