[systemd-devel] Backup the current boot logs in raw format
Francis Moreau
francis.moro at gmail.com
Wed Jul 24 16:26:00 UTC 2019
On Wed, Jul 24, 2019 at 4:08 PM Zbigniew Jędrzejewski-Szmek
<zbyszek at in.waw.pl> wrote:
> journalctl -o export ... | /usr/lib/systemd/systemd-journal-remote -o /tmp/foo.journal -
> This has the advantage that you can apply any journalctl filter where
> the dots are, e.g. '-b'.
Thanks !
It's documented in man page but I wasn't sure that I didn't miss
somthing else because it is a bit strange to use an additional tool
(systemd-journal-remote) to do that.
Something like: journalctl -o raw -b >/tmp/foo.journal
--
Francis
More information about the systemd-devel
mailing list