azlux / log2ram

ramlog like for systemd (Put log into a ram folder)
MIT License
2.57k stars 187 forks source link

Feature request: rsync with remote server #198

Closed nikolasgd closed 1 year ago

nikolasgd commented 1 year ago

It would really leverage the power of this tool if instead of a local path a remote server could be configured.

I would think most people using this script have access to another server they could use for storing their logs. Therefor eliminating writes to sd card completely.

azlux commented 1 year ago

Hi, you don't need log2ram for that, you need to configure the rsyslog (and/or journalctl) to export the logs to an external server. https://www.howtoforge.com/how-to-setup-rsyslog-server-on-debian-11/#configure-rsyslog-client https://serverfault.com/questions/758244/how-to-configure-systemd-journal-remote