Debian-Ubuntu weakness to filesystem corruption recovery

Colin Watson cjwatson at ubuntu.com
Sat May 13 11:25:00 BST 2006


On Fri, May 12, 2006 at 08:43:15PM +0200, chantra wrote:
> I found something wrong with the way debian handled backups for 
> directories like /var/lib/dpkg.
> 
> /etc/cron.daily/standard use to save it to /var/backups
> but then *what happens when /var get corrupted* ?
> Do we have to lose variable datas and the whole system, or should we be 
> able to keep the system and just deal with the /var bit?

The automatic backups of /var/lib/dpkg are only meant to defend against
bugs in dpkg. To cope with filesystem corruption, you should institute
your own proper backup scheme.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the ubuntu-devel mailing list