Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wish: ship with example systemd config files #147

Open
markstos opened this issue Aug 26, 2016 · 0 comments
Open

wish: ship with example systemd config files #147

markstos opened this issue Aug 26, 2016 · 0 comments

Comments

@markstos
Copy link

A number of popular Linux distributions have standardized on systemd. systemd includes an alternative to cron in the form of systemd timers. There are some advantages to using systemd timers and it's certainly of interest to use them with rsnapshot for an admin already managing a number of other services running on systemd timers.

It seems right now at least Ubuntu and Arch don't ship any systemd timer files as examples for rsnapshop, leading to duplicated documentation and effort to get this setup as interested users each figuring this out on their own.

It would be helpful if rsnapshot shipped some example systemd timer and service files for those who wish to use them instead of cron.

The Rsnapshot page on the Arch wiki is one source of examples.

I've also documented how I setup rsnapshot with systemd on Ubuntu on my own blog.

Before when I used rsnapshot with cron, I was always getting output in my email which I didn't want from successful runs. I'm sure there was a way to only get emailed on failure using Cron and still have the logs somewhere, but it always remained an annoyance. systemd makes it fairly easy to have both detailed logs from the backup process and still get emailed when there's a failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant