Re: Backup, what system files are *really* important?

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

 



On Fri, 2010-03-12 at 10:59 -0700, Stuart McGraw wrote:
> On 03/11/2010 09:02 PM, Craig White wrote:
> > 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
> 
> I backup /etc/samba/smb.conf (the only file there I've 
> modified.)  There are less than a dozen samba users here.
> I have notes about how to add them using pdbedit.  Since
> this was how I set up samba originally, I am assuming
> that redoing the same process will produce the same
> results including the stuff in var/cache/samba?
> Am I missing something?
----
well it appears that they finally moved the contents of what used to be
in /var/cache/samba to /var/lib/samba (yeah) but the contents are all of
the internal tdb (trivial data base) files that samba uses for things
like policies created by pdbedit, share information, etc. If you are
running a samba server, you should be backing those up.

Craig


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

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux