Backup, what system files are *really* important?

Craig White craigwhite at azapple.com
Fri Mar 12 04:02:47 UTC 2010


On Thu, 2010-03-11 at 22:32 -0430, Patrick O'Callaghan wrote:
> On Thu, 2010-03-11 at 18:54 -0700, Craig White wrote:
> > On Thu, 2010-03-11 at 20:13 -0430, Patrick O'Callaghan wrote:
> > > On Thu, 2010-03-11 at 18:29 -0600, Mike McCarty wrote:
> > > > Patrick O'Callaghan wrote:
> > > > > 
> > > > > I back up all of /etc and /usr/local. Also /opt if it exists.
> > > > 
> > > > Is /opt really likely to contain some configuration information
> > > > that a reinstall wouldn't set up? ISTM that, if the system
> > > > is "modern" enough to use /opt for its install, then its config
> > > > would also be in /var. Not so?
> > > 
> > > /opt (and /usr/local) are likely to contain stuff that wasn't installed
> > > via rpm or yum, thus needs to be preserved. That's all. YMMV.
> > > 
> > ----
> > what about /var ?
> > 
> > /var/www/html
> > /var/www/named
> > /var/lib/dhcpd
> > /var/lib/imap
> > /var/cache/samba
> > 
> > come immediately to my mind
> 
> I don't run public services on my personal machine so much of that
> doesn't matter to me. Plus anything with "cache" in its pathname is
> excluded by my backup script as a matter of course.
> 
> I do back up /var/log though. You never know.
----
yeah but if it's a samba server... unfortunate that redhat packagers
chose to use /var/cache/samba for important files

also remembered...

/var/lib/mysql
/var/lib/pgsql
(database users... not necessarily 'public' services)

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the users mailing list