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

Docs: mention the behavior of "sync" cron job in case of "warnings" #340

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sumpfralle
Copy link

The recommended cron job command for sync_first 1 behaves differently than the non-sync command recommendation:

  • sync_first 0: "warnings" occurring during the rsync operation do not influence the following "rotate" operation
  • sync_first 1: "warnings" during "rsnaphot sync" lead to an exit code value 2. The rotation is skipped (rsnapshot sync && rsnapshot alpha).

Now the man page mentions this difference in behavior and recommends an adjusted cron job, which preserves the non-sync behavior.

See #338

The recommended cron job command for `sync_first 1` behaves differently than
the non-sync command recommendation:
* `sync_first 0`: "warnings" occurring during the rsync operation do not
  influence the following "rotate" operation
* `sync_first 1`: "warnings" during "rsnaphot sync" lead to an exit code
  value 2. The rotation is skipped (`rsnapshot sync && rsnapshot alpha`).

Now the man page mentions this difference in behavior and recommends an
adjusted cron job, which preserves the non-sync behavior.
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

Successfully merging this pull request may close these issues.

None yet

1 participant