Instead of doing your own compressed dump to flash, how about this:

 (1) Enable persistence.
 (2) When you want a backup, force rotation by sending the journal SIGUSR2 [1].
 (3) Copy away the rotated journal file and delete it.

This would allow getting entries in a way that's compressed and never
duplicated between files.

[1] http://www.freedesktop.org/software/systemd/man/systemd-journald.service
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to