Date: Fri, 16 Oct 2009 08:39:03 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Warren Block <wblock@wonkity.com> Cc: Jerry McAllister <jerrymc@msu.edu>, questions@freebsd.org, Nerius Landys <nlandys@gmail.com> Subject: Re: Best procedure for full backup of live system Message-ID: <4AD82317.40006@infracaninophile.co.uk> In-Reply-To: <alpine.BSF.2.00.0910152049340.80320@wonkity.com> References: <560f92640910142042tc46f1e3lb81ac1e4528a44ab@mail.gmail.com> <20091015143947.GB54613@gizmo.acns.msu.edu> <560f92640910151742h33393131j9974c23db37602b8@mail.gmail.com> <alpine.BSF.2.00.0910152049340.80320@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig80512CB93AC92F199384701F
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Warren Block wrote:
>> Lastly, it says save all boot messages. Do they mean the output of
>> dmesg? Why is this useful?
>=20
> It would show what hardware was in the old machine and what services ar=
e=20
> running on startup. Backup in general is making copies of information =
> you won't need as long as you have a backup of it.
The system already creates a copy of the first part of the system boot=20
output for you: /var/run/dmesg.boot -- this shows you what hardware the
kernel discovered as it probed all of the buses and so forth. It doesn't=
contain the rest of the output from all of the /etc/rc.d/* and
/usr/local/etc/rc.d/* startup scripts.
The simple way to capture all that is to enable console.log in /etc/syslo=
g.conf
-- you want to uncomment this line:
console.info /var/log/console.log
and make sure that /var/log/console.log exists, then restart syslog. Thi=
s
will log all console output, including the boot-up output.
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
--------------enig80512CB93AC92F199384701F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkrYIxgACgkQ8Mjk52CukIw2aACePKTIccfBxwgCJ0CPFJnfV0g5
x7YAniVeP1uOVrSFdFTuWSFf/XlDnRrD
=zR2y
-----END PGP SIGNATURE-----
--------------enig80512CB93AC92F199384701F--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AD82317.40006>
