Good way to recover Linux server
Peter Kahle
pkahle at pobox.com
Thu Aug 11 13:39:22 EDT 2005
On Thu, Aug 11, 2005 at 11:50:40AM -0400, Jerry Feldman wrote:
> On Thursday 11 August 2005 9:40 am, snagao wrote:
> > I am looking for a good way to recover a server - especially in a DR
> > scenario. For my AIX servers, I use the mksysb utility to make a
> > bootable image of the OS.
> >
> > I know Linux doesn't have anything equivalent to AIX's mksysb command,
> > but can someone please recommend a tool or method for me to back up the
> > OS and recover it quickly for DR testing?
> >
> > My thanks in advance to all those who respond.
> First, the /boot directory tree contains the kernel, kernel parameters and
> GRUB.
> Next, the traditional / directories - /bin, /sbin, /etc, /dev
> The /usr tree primarily /usr/bin, /usr/sbin, /usr/include
> Possibly /opt.
you also need at least /lib and probably /usr/lib. On my Debian system,
even bash is dynamically linked:
$ ldd /bin/bash
linux-gate.so.1 => (0xffffe000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7f26000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7f22000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7dea000)
/lib/ld-linux.so.2 (0xb7f82000)
There is a separate "sash" package which includes a statically-linked
shell, but it's not a default.
Peter
More information about the Discuss
mailing list