David Coulson on 27 May 2008 19:19:16 -0700


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

Re: [PLUG] CentOS backup options


I use rsync to back up around 90 RHEL boxes. I do daily incrementals similar to this:

http://www.mikerubel.org/computers/rsync_snapshots/

Usually I just use restorecon to fix the SELinux stuff after a recovery - There isn't a whole lot that is customized on the servers. rsync on RHEL4 does not support SELinux contexts as far as I can tell (not really checked RHEL5 - Just have a single box running that).

Other than that, we also use Veritas (I guess it's Symantec now) NetBackup, but typically I rsync it all to a central box and use NetBackup on that system, rather than having the client on every single server. Veritas basically uses tar, so it does not maintain SELinux contexts either.

David

Erek Dyskant wrote:
I just discovered that the CentOS rsync includes a patch that adds a -X
option to copy extended attributes including selinux contexts.

However, I'd still be interested in hearing what other people are using
for Linux (especially RHEL/CentOS) backups.

--Erek

On Tue, 2008-05-27 at 21:55 -0400, Erek Dyskant wrote:
  
Howdy All,
        I've been using rsnapshot (an rsync-based backup script) for
backing up. CentOS servers, and was very happy with it.  It does
efficient backups that use the native filesystem on the backup server,
so it's easy to restore specific files, however:
        I just ran a full restore dress rehearsal, and found that rsync
doesn't copy selinux contexts, so I had to disable selinux on the
restored machine before it would boot.
        So, does any of you know of a good backup tool that can do
network-based incremental backups, and that backs up all of the
filesystem metadata?  Another requirement is that there need to be tools
to access specific files or directories (If it doesn't use the native
target's filesystem like rsnapshot does) from any of the snapshots
without doing a full restore.
        Thanks for the help.

Cheers,
Erek


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
    

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
  
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug