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

Re: A pipe dream?



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


Reply to: